标签: python django asynchronous celery
我有无限任务
@celeryd_after_setup.connect def listen_slack_channel(sender, instance, **kwargs): sc = SlackClient(settings.SLACK_TOKEN) sc.rtm_connect() while True: ...
它运作良好但阻止了其他任务......你能否建议我另一种创建无限任务的方法?