cleaned up some terminology
This commit is contained in:
parent
bb2886eb1d
commit
a504a24b12
@ -74,9 +74,9 @@ class Config(oahu.config.Config):
|
||||
# Trigger names have to be consistent across all workers
|
||||
# (yagi and daemons).
|
||||
by_request = trigger_definition.TriggerDefinition("request-id",
|
||||
["_context_request_id", ],
|
||||
criteria.Inactive(60),
|
||||
[self.request_id_callback,],
|
||||
["_context_request_id", ], # Match criteria
|
||||
criteria.Inactive(60), # Trigger criteria
|
||||
[self.request_id_callback,], # Pipeline processing
|
||||
debug=True)
|
||||
|
||||
# This trigger requires a Trait called "when_date" which is
|
||||
@ -98,11 +98,11 @@ class Config(oahu.config.Config):
|
||||
def get_distiller_config(self):
|
||||
return ""
|
||||
|
||||
def get_ready_chunk_size(self):
|
||||
def get_ready_chunk_size(self): # Check for Ready streams.
|
||||
return 100
|
||||
|
||||
def get_expiry_chunk_size(self):
|
||||
def get_trigger_chunk_size(self): # Find streams ready to Trigger.
|
||||
return 1000
|
||||
|
||||
def get_completed_chunk_size(self):
|
||||
def get_completed_chunk_size(self): # Cleanup completed streams.
|
||||
return -1
|
||||
|
19
screenrc
19
screenrc
@ -1,21 +1,22 @@
|
||||
sessionname tach
|
||||
hardstatus alwayslastline '%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})'
|
||||
screen -t gen bash
|
||||
stuff "cd git/notigen/bin; python event_pump.py ../templates 2 0\r"
|
||||
screen -t quincy bash
|
||||
stuff "cd git/quincy/quincy; gunicorn --log-file=- 'api:get_api(config_location=\"../../../quincy.conf\")'\r"
|
||||
#stuff "cd git/quincy/quincy; gunicorn --log-file=- 'api:get_api()'\r"
|
||||
screen -t bash bash
|
||||
stuff "klugman streams\r"
|
||||
screen -t yagi1 bash
|
||||
stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf\r"
|
||||
screen -t yagi2 bash
|
||||
stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf\r"
|
||||
screen -t quincy bash
|
||||
stuff "cd git/quincy/quincy; gunicorn --log-file=- 'api:get_api(config_location=\"../../../quincy.conf\")'\r"
|
||||
stuff "cd git/quincy/quincy; gunicorn --log-file=- 'api:get_api()'\r"
|
||||
screen -t expired bash
|
||||
stuff "pipeline expired \".|oahu_config:Config\" --polling_rate=20\r"
|
||||
screen -t trigger bash
|
||||
stuff "pipeline trigger \".|oahu_config:Config\" --polling_rate=20\r"
|
||||
screen -t ready1 bash
|
||||
stuff "pipeline ready \".|oahu_config:Config\" --polling_rate=20\r"
|
||||
screen -t ready2 bash
|
||||
stuff "pipeline ready \".|oahu_config:Config\" --polling_rate=20\r"
|
||||
screen -t completed bash
|
||||
stuff "pipeline completed \".|oahu_config:Config\" --polling_rate=20\r"
|
||||
screen -t bash bash
|
||||
stuff "klugman streams\r"
|
||||
screen -t gen bash
|
||||
stuff "cd git/notigen/bin; python event_pump.py ../templates 2 0\r"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
[global]
|
||||
verbose = True
|
||||
verbose = False
|
||||
debug = True
|
||||
update_timer = 10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user