SIENTIAPDE-1199
refactor: remove unused schedule_handles attribute from TemporalManager - Eliminated the schedule_handles dictionary from the TemporalManager class as it was no longer needed. - Cleaned up related code to ensure proper functionality without the removed attribute.
This commit is contained in:
@@ -27,11 +27,6 @@ class TemporalManager(BaseActivity):
|
||||
self.laborious_namespace = laborious_namespace
|
||||
self.temporal_clients = {}
|
||||
|
||||
self.schedule_handles = {
|
||||
self.scouter_namespace: {},
|
||||
self.laborious_namespace: {}
|
||||
}
|
||||
|
||||
self.model_id_id_key = SearchAttributeKey.for_keyword("model_id")
|
||||
self.model_name_id_key = SearchAttributeKey.for_keyword("model_name")
|
||||
self.orchestrated_id_key = SearchAttributeKey.for_keyword(
|
||||
@@ -352,8 +347,6 @@ class TemporalManager(BaseActivity):
|
||||
|
||||
await handler.delete()
|
||||
|
||||
del self.schedule_handles[namespace][schedule_name]
|
||||
|
||||
report.append({
|
||||
"namespace": namespace,
|
||||
"schedule_name": schedule_name,
|
||||
|
||||
Reference in New Issue
Block a user