Skip to content

Commit

Permalink
feat: change redis check interval to 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Jun 26, 2024
1 parent 2935a15 commit a173710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion campux/mq/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async def routine_loop():
await self.process_stream(streams_name['campux_redis_publish_post_stream'], self.check_publish_post)
await self.process_stream(streams_name['campux_redis_new_post_stream'], self.check_new_post)
await self.process_stream(streams_name['campux_redis_post_cancel_stream'], self.check_post_cancel)
await asyncio.sleep(10)
await asyncio.sleep(30)

asyncio.create_task(routine_loop())

Expand Down

0 comments on commit a173710

Please sign in to comment.