Skip to content

Commit 75b1503

Browse files
committed
chore: fix cronjob
1 parent 00c25a2 commit 75b1503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyinjective/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def __init__(
141141
)
142142

143143
# timeout height update routine
144-
aiocron.crontab(
144+
self.cron = aiocron.crontab(
145145
'* * * * * */{}'.format(DEFAULT_TIMEOUTHEIGHT_SYNC_INTERVAL),
146146
func=self.sync_timeout_height,
147147
args=(),

0 commit comments

Comments
 (0)