Skip to content

Commit

Permalink
Run without gevent
Browse files Browse the repository at this point in the history
  • Loading branch information
squeaky-pl committed Oct 29, 2024
1 parent 6636d71 commit e59f77b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/recompress-raw-mime.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/usr/bin/env python
from gevent import monkey

monkey.patch_all()

import datetime
import enum
Expand All @@ -18,6 +15,10 @@
from sqlalchemy.orm import Query
from sqlalchemy.sql import func

from inbox.config import config

config["USE_GEVENT"] = False

from inbox.logging import configure_logging, get_logger
from inbox.models.message import Message
from inbox.models.session import global_session_scope
Expand Down

0 comments on commit e59f77b

Please sign in to comment.