Skip to content

Commit f4ec9f5

Browse files
committed
Run without gevent
1 parent 0f821d7 commit f4ec9f5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bin/recompress-raw-mime.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
#!/usr/bin/env python
2-
from gevent import monkey
3-
4-
monkey.patch_all()
52

63
import datetime
74
import enum
@@ -18,6 +15,10 @@
1815
from sqlalchemy.orm import Query
1916
from sqlalchemy.sql import func
2017

18+
from inbox.config import config
19+
20+
config["USE_GEVENT"] = False
21+
2122
from inbox.logging import configure_logging, get_logger
2223
from inbox.models.message import Message
2324
from inbox.models.session import global_session_scope

0 commit comments

Comments
 (0)