Compare commits
22 Commits
master
...
50a26e0e1d
| Author | SHA1 | Date | |
|---|---|---|---|
| 50a26e0e1d | |||
| d670c9375c | |||
| 11fbbf18f4 | |||
| 232042a523 | |||
| eec041bb9d | |||
| e8b5092745 | |||
| 6c1288aaab | |||
| 3408364bc4 | |||
| baa134ae26 | |||
| fcb2713eaf | |||
| d2247054e8 | |||
| ce550c31f4 | |||
| ba2f1bb768 | |||
| 889a20609f | |||
| 1c3d1566e5 | |||
| 2b88479cec | |||
| 7238d725dd | |||
| 4a3fa3c2ab | |||
| 45e1c0fe8a | |||
| 989f7026ad | |||
| 90378be7c5 | |||
| 95e4f5e8da |
@@ -7,7 +7,6 @@ RUN apt-get install -y locales locales-all
|
||||
ENV LANGUAGE ru_RU.UTF-8
|
||||
ENV LANG ru_RU.UTF-8
|
||||
ENV LC_ALL ru_RU.UTF-8
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
COPY . .
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
import datetime
|
||||
import os
|
||||
import traceback
|
||||
import zoneinfo
|
||||
import requests
|
||||
import time
|
||||
@@ -56,7 +55,6 @@ class TasksHandlerMixin:
|
||||
success = True
|
||||
except Exception as exc:
|
||||
print(f'Error processing message id={task["id"]}, payload={task["payload"]}, exc={exc}')
|
||||
traceback.print_exc()
|
||||
success = False
|
||||
end = datetime.datetime.now(zoneinfo.ZoneInfo("Europe/Moscow"))
|
||||
if success:
|
||||
|
||||
Reference in New Issue
Block a user