Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
fwdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
c900c6ed
authored
Mar 24, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fw: updated to use memcached
parent
514712db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
fw.py
+8
-3
No files found.
fw.py
View file @
c900c6ed
...
@@ -12,9 +12,14 @@ DHCP_LOGFILE = getenv('DHCP_LOGFILE', '/var/log/syslog')
...
@@ -12,9 +12,14 @@ DHCP_LOGFILE = getenv('DHCP_LOGFILE', '/var/log/syslog')
VLAN_CONF
=
getenv
(
'VLAN_CONF'
,
'vlan.conf'
)
VLAN_CONF
=
getenv
(
'VLAN_CONF'
,
'vlan.conf'
)
FIREWALL_CONF
=
getenv
(
'FIREWALL_CONF'
,
'firewall.conf'
)
FIREWALL_CONF
=
getenv
(
'FIREWALL_CONF'
,
'firewall.conf'
)
celery
=
Celery
(
'tasks'
,
backend
=
'amqp'
,
)
CACHE_URI
=
getenv
(
'CACHE_URI'
)
celery
.
conf
.
update
(
CELERY_TASK_RESULT_EXPIRES
=
300
,
AMQP_URI
=
getenv
(
'AMQP_URI'
)
BROKER_URL
=
getenv
(
"AMQP_URI"
),
celery
=
Celery
(
'tasks'
,)
celery
.
conf
.
update
(
CELERY_CACHE_BACKEND
=
CACHE_URI
,
CELERY_RESULT_BACKEND
=
'cache'
,
CELERY_TASK_RESULT_EXPIRES
=
300
,
BROKER_URL
=
AMQP_URI
,
CELERY_CREATE_MISSING_QUEUES
=
True
)
CELERY_CREATE_MISSING_QUEUES
=
True
)
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment