We’re running Sentry 8.21.0 w/Docker on an m4.xlarge EC2 instance.
When we are using source maps, events sent through our Javascript app cannot be processed. It fails with SoftTimeLimitExceeded
in sentry.tasks.store.process_event
.
SoftTimeLimitExceeded: SoftTimeLimitExceeded()
File "sentry/stacktraces.py", line 323, in process_single_stacktrace
rv = processable_frame.processor.process_frame(processable_frame, processing_task)
File "sentry/lang/javascript/processor.py", line 612, in process_frame
minified_source)
File "libsourcemap/highlevel.py", line 177, in get_original_function_name
minified_source, sout)
File "libsourcemap/highlevel.py", line 31, in rustcall
rv = func(*(args + (err,)))
File "billiard/pool.py", line 235, in soft_timeout_sighandler
raise SoftTimeLimitExceeded()
Digging a bit, it seems like Sentry is setting a soft_time_limit
of 60 in store.py.
If I modify this value to 120, it works fine. Maybe the server I’m running on is a bit slow for my 6.7MB bundle / 7.8MB bundle map files?
Is it sane to increase the timeout and continue with that?
If so, does it make sense to make this a configuration option?
Thank you.