catch greenlet.GreenletExit when shutting service down
This commit is contained in:
@@ -24,13 +24,13 @@ No fan-out support yet.
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import greenlet
|
||||||
import json
|
import json
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import traceback
|
import traceback
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
import greenlet
|
|
||||||
from carrot import connection as carrot_connection
|
from carrot import connection as carrot_connection
|
||||||
from carrot import messaging
|
from carrot import messaging
|
||||||
import eventlet
|
import eventlet
|
||||||
|
|||||||
Reference in New Issue
Block a user