let see what works and whats not
added initial support for python 3.11. let see what works and whats not
import os
import sys

sys.path.insert(0, os.getcwd())

# ## Start worker with -P eventlet
# Never use the worker_pool setting as that'll patch
# the worker too late.

broker_url = 'amqp://guest:guest@localhost:5672//'
worker_disable_rate_limits = True
result_expires = 30 * 60

imports = ('tasks', 'webcrawler')

import os
import sys

sys.path.insert(0, os.getcwd())

# ## Start worker with -P eventlet
# Never use the worker_pool setting as that'll patch
# the worker too late.

broker_url = 'amqp://guest:guest@localhost:5672//'
worker_disable_rate_limits = True
result_expires = 30 * 60

imports = ('tasks', 'webcrawler')
