Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4608a6ef
authored
Mar 06, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix flake8 warnings
parent
5ea57598
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
netcelery.py
+1
-1
vmcelery.py
+3
-3
No files found.
netcelery.py
View file @
4608a6ef
...
@@ -11,7 +11,7 @@ celery = Celery('netdriver', backend='amqp',
...
@@ -11,7 +11,7 @@ celery = Celery('netdriver', backend='amqp',
include
=
[
'netdriver'
])
include
=
[
'netdriver'
])
celery
.
conf
.
update
(
celery
.
conf
.
update
(
CELERY_TASK_RESULT_EXPIRES
=
300
,
CELERY_TASK_RESULT_EXPIRES
=
300
,
CELERY_QUEUES
=
(
CELERY_QUEUES
=
(
Queue
(
HOSTNAME
+
'.net'
,
Exchange
(
Queue
(
HOSTNAME
+
'.net'
,
Exchange
(
'netdriver'
,
type
=
'direct'
),
routing_key
=
'netdriver'
),
'netdriver'
,
type
=
'direct'
),
routing_key
=
'netdriver'
),
...
...
vmcelery.py
View file @
4608a6ef
...
@@ -16,12 +16,12 @@ celery = Celery('vmcelery', backend='amqp',
...
@@ -16,12 +16,12 @@ celery = Celery('vmcelery', backend='amqp',
include
=
[
'vmdriver'
])
include
=
[
'vmdriver'
])
celery
.
conf
.
update
(
celery
.
conf
.
update
(
CELERY_TASK_RESULT_EXPIRES
=
300
,
CELERY_TASK_RESULT_EXPIRES
=
300
,
CELERY_QUEUES
=
(
CELERY_QUEUES
=
(
Queue
(
HOSTNAME
+
'.vm'
,
Exchange
(
Queue
(
HOSTNAME
+
'.vm'
,
Exchange
(
'vmdriver'
,
type
=
'direct'
),
routing_key
=
"vmdriver"
),
'vmdriver'
,
type
=
'direct'
),
routing_key
=
"vmdriver"
),
#
Queue(HOSTNAME + '.monitor', Exchange(
#
Queue(HOSTNAME + '.monitor', Exchange(
#
'monitor', type='direct'), routing_key="monitor"),
#
'monitor', type='direct'), routing_key="monitor"),
)
)
)
)
...
...
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