Compare commits
1 Commits
b0482de8a7
...
d82b1c73c0
Author | SHA1 | Date |
---|---|---|
|
d82b1c73c0 |
|
@ -626,6 +626,7 @@ HUEY = {
|
||||||
'store_errors': True, # Store error info if task throws exception.
|
'store_errors': True, # Store error info if task throws exception.
|
||||||
'blocking': False, # Poll the queue rather than do blocking pop.
|
'blocking': False, # Poll the queue rather than do blocking pop.
|
||||||
'backend_class': 'huey.RedisHuey', # Use path to redis huey by default,
|
'backend_class': 'huey.RedisHuey', # Use path to redis huey by default,
|
||||||
|
'immediate': False,
|
||||||
'connection': {
|
'connection': {
|
||||||
'host': 'redis',
|
'host': 'redis',
|
||||||
'port': 6379,
|
'port': 6379,
|
||||||
|
|
|
@ -9,7 +9,7 @@ import json
|
||||||
server = Server(settings.LDAP_SERVER)
|
server = Server(settings.LDAP_SERVER)
|
||||||
conn = Connection(
|
conn = Connection(
|
||||||
server,
|
server,
|
||||||
'cn=admin, dc=maidstone-hackspace, dc=org, dc=uk',
|
f'cn=admin, {settings.LDAP_ROOT}',
|
||||||
settings.LDAP_PASSWORD,
|
settings.LDAP_PASSWORD,
|
||||||
auto_bind=True)
|
auto_bind=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue