Skip to content

Commit 3f03d92

Browse files
authoredJan 10, 2025··
feat(devservices): Support no workers option for containerized version of snuba (#6737)
This option should be supported as CI in sentry generally runs snuba devserver without workers. Currently, this is determined in sentry based on the `SENTRY_EVENTSTREAM` setting. This is a workaround for an issue that stems from our jumbled logic around configuration files and settings that we should discuss in the future.
1 parent 2bd4f5c commit 3f03d92

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎devservices/config.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ services:
5555
ports:
5656
- 127.0.0.1:1218:1218
5757
- 127.0.0.1:1219:1219
58-
command: [devserver]
58+
command:
59+
- devserver
60+
- --${SNUBA_NO_WORKERS:+no-workers}
5961
healthcheck:
6062
test: curl -f http://localhost:1218/health_envoy
6163
interval: 5s

0 commit comments

Comments
 (0)
Please sign in to comment.