Merge branch 'main' into avm99963-monorail
Merged commit cd4b3b336f1f14afa02990fdc2eec5d9467a827e
GitOrigin-RevId: e67bbf185d5538e1472bb42e0abb2a141f88bac1
diff --git a/framework/warmup.py b/framework/warmup.py
index ef8a53d..ace76ce 100644
--- a/framework/warmup.py
+++ b/framework/warmup.py
@@ -13,6 +13,7 @@
from framework import jsonfeed
+# TODO(https://crbug.com/monorail/6511): Convert to FlaskInternalTask
class Warmup(jsonfeed.InternalTask):
"""Placeholder for warmup work. Used only to enable min_idle_instances."""
@@ -25,6 +26,11 @@
'success': 1,
}
+ # def GetWarmup(self, **kwargs):
+ # return self.handler(**kwargs)
+
+
+# TODO(https://crbug.com/monorail/6511): Convert to FlaskInternalTask
class Start(jsonfeed.InternalTask):
"""Placeholder for start work. Used only to enable manual_scaling."""
@@ -37,7 +43,11 @@
'success': 1,
}
+ # def GetStart(self, **kwargs):
+ # return self.handler(**kwargs)
+
+# TODO(https://crbug.com/monorail/6511): Convert to FlaskInternalTask
class Stop(jsonfeed.InternalTask):
"""Placeholder for stop work. Used only to enable manual_scaling."""
@@ -49,3 +59,6 @@
return {
'success': 1,
}
+
+ # def GetStop(self, **kwargs):
+ # return self.handler(**kwargs)