Skip to content

Commit

Permalink
Merge pull request #734 from NajmudheenCT/remove_periodic_interval
Browse files Browse the repository at this point in the history
Remove unused method from distributor
  • Loading branch information
kumarashit authored Oct 1, 2021
2 parents 4d25845 + 24d6d38 commit 89cb0e9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions delfin/leader_election/distributor/task_distributor.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from oslo_log import log

from delfin import db
from delfin.common.constants import TelemetryCollection
from delfin.coordination import ConsistentHashing
from delfin.task_manager import metrics_rpcapi as task_rpcapi

Expand Down Expand Up @@ -56,7 +55,3 @@ def distribute_failed_job(self, failed_task_id, executor):
LOG.error('Failed to distribute failed job, reason: %s',
six.text_type(e))
raise e

@classmethod
def job_interval(cls):
return TelemetryCollection.PERIODIC_JOB_INTERVAL

0 comments on commit 89cb0e9

Please sign in to comment.