Skip to content

Commit 1c3618a

Browse files
committed
Increase collector queue size; pin version of markupsafe due to API break
1 parent 2699ba2 commit 1c3618a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

plan_monitor/collect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def poll_db(db_identifier: str, odbc_conn_string: str, stop_event: mp.Event,
8686
def collect() -> None:
8787
kafka_producer = common.build_producer(message_schemas.QUERY_STATS_MESSAGE_KEY_AVRO_SCHEMA,
8888
message_schemas.QUERY_STATS_MESSAGE_VALUE_AVRO_SCHEMA)
89-
result_queue = mp.Queue(10000)
89+
result_queue = mp.Queue(50000)
9090
stop_event = mp.Event()
9191
produced_count = 0
9292
processes = []

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
confluent-kafka[avro]==1.8.2
2+
markupsafe==2.0.1
23
pyodbc==4.0.32
34
python-dateutil==2.8.2
45
pytz==2021.3

0 commit comments

Comments
 (0)