<@ULVA73B9P> When running a deployment with `.serv...
# ask-marvin
b
@Marvin When running a deployment with
.serve()
, after the first flow has completed I get the following errors:
Copy code
14:50:31.298 | DEBUG   | GlobalEventLoopThread | prefect._internal.concurrency - Service <prefect.logging.handlers.APILogWorker object at 0x73816c3f43b0> added item {'name': 'prefect.flow_runs', 'level': 20, 'message': "Finished in state Completed(message=None, type=COMPLETED, result=ResultRecord(metadata=ResultRecordMetadata(storage_key='/root/.prefect/storage/46dd45d91c5240c38415642c017dce27', expiration=None, serializer=PickleSerializer(type='pickle', picklelib='cloudpickle', picklelib_version=None), prefect_version='3.1.10', storage_block_id=None), result=None))", 'timestamp': '2025-01-16T14:50:31.294967Z', 'flow_run_id': 'b0e8db7d-65d7-4fe0-92fa-2a9d32cefb03', 'task_run_id': None} to batch (size 530892/3000000)
14:50:31.298 | DEBUG   | GlobalEventLoopThread | prefect._internal.concurrency - Exiting service <prefect.events.worker.EventsWorker object at 0x73816a506120>
14:50:31.298 | DEBUG   | APILogWorkerThread | prefect._internal.concurrency - Running call get(timeout=0.2821532990055857) in thread 'APILogWorkerThread'
14:50:31.299 | DEBUG   | APILogWorkerThread | prefect._internal.concurrency - <WatcherThreadCancelScope, name='get' RUNNING, runtime=0.00> entered
14:50:31.581 | DEBUG   | APILogWorkerThread | prefect._internal.concurrency - <WatcherThreadCancelScope, name='get' COMPLETED, runtime=0.28> exited
14:50:31.582 | DEBUG   | APILogWorkerThread | prefect._internal.concurrency - Encountered exception in call get(<dropped>)
Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/prefect/_internal/concurrency/calls.py", line 364, in _run_sync
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/queue.py", line 179, in get
    raise Empty
_queue.Empty
14:50:31.584 | DEBUG   | GlobalEventLoopThread | prefect._internal.concurrency - Service <prefect.logging.handlers.APILogWorker object at 0x73816c3f43b0> processing batch of size 530892
14:50:31.835 | DEBUG   | APILogWorkerThread | prefect._internal.concurrency - Running call get(timeout=1.9999668410018785) in thread 'APILogWorkerThread'
14:50:31.835 | DEBUG   | APILogWorkerThread | prefect._internal.concurrency - <WatcherThreadCancelScope, name='get' RUNNING, runtime=0.00> entered
14:50:32.060 | DEBUG   | APILogWorkerThread | prefect._internal.concurrency - <WatcherThreadCancelScope, name='get' COMPLETED, runtime=2.00> exited
14:50:32.060 | DEBUG   | APILogWorkerThread | prefect._internal.concurrency - Encountered exception in call get(<dropped>)
Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/prefect/_internal/concurrency/calls.py", line 364, in _run_sync
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/queue.py", line 179, in get
    raise Empty
_queue.Empty
How do I fix this?
m
Your message was too long by 592 tokens...