File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -159,8 +159,11 @@ def dispatch(
159
159
job_id = _manage_process_job_id (process_parent_type , process_parent_id )
160
160
LOGGER .info (
161
161
f"Dispatching request type { request_type } for { process_parent_type } "
162
- "{process_parent_id}" ,
162
+ f "{ process_parent_id } " ,
163
163
)
164
+ # TODO: add "monitor" type to ActivationRequestQueue
165
+ if request_type is None :
166
+ request_type = "Monitor"
164
167
165
168
# new processes
166
169
if request_type in [
@@ -195,7 +198,7 @@ def dispatch(
195
198
LOGGER .info (
196
199
f"Scheduling { process_parent_type } { process_parent_id } "
197
200
f"to the least busy queue; its associated queue "
198
- "'{queue_name}' is from previous configuation settings." ,
201
+ f "'{ queue_name } ' is from previous configuation settings." ,
199
202
)
200
203
queue_name = get_least_busy_queue_name ()
201
204
elif not check_rulebook_queue_health (queue_name ):
You can’t perform that action at this time.
0 commit comments