mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
92 lines
3.5 KiB
Properties
92 lines
3.5 KiB
Properties
# Settings overridden for Amazon EC2 instances that power http://*.godbolt.org/
|
|
cookieDomainRe=godbolt\.org|compiler-explorer\.com|godbo\.lt
|
|
cookiePolicyEnabled=true
|
|
privacyPolicyEnabled=true
|
|
compileTimeoutMs=20000
|
|
max-asm-size=67108864
|
|
maxConcurrentCompiles=2
|
|
staticMaxAgeSecs=30
|
|
# Anything under /cache/ will expire
|
|
cacheConfig=InMemory(25);S3(storage.godbolt.org,cache,us-east-1)
|
|
executableCacheConfig=S3(storage.godbolt.org,cache,us-east-1)
|
|
# Anything outside will not expire
|
|
compilerCacheConfig=S3(storage.godbolt.org,compiler-info-cache,us-east-1)
|
|
# Do not get too stuck on failed proxies or the instances might not be able to wake up
|
|
proxyRetries=10
|
|
proxyRetryMs=500
|
|
rescanCompilerSecs=3600
|
|
sentryDsn=https://8e4614f649ad4e3faf3e7e8827b935f9@sentry.io/102028
|
|
motdUrl=/motd/motd-prod.json
|
|
pageloadUrl=https://lambda.compiler-explorer.com/pageload
|
|
explainApiEndpoint=https://api.compiler-explorer.com/explain
|
|
storageSolution=s3
|
|
healthCheckFilePath=/efs/.health
|
|
showSponsors=true
|
|
logCompilerCacheAccesses=false
|
|
|
|
eventLoopMeasureIntervalMs=50
|
|
eventLoopLagThresholdWarn=100
|
|
eventLoopLagThresholdErr=1000
|
|
|
|
staticUrl=https://static.ce-cdn.net/
|
|
sentryEnvironment=prod
|
|
sentrySlowRequestMs=30000
|
|
|
|
alwaysResetLdPath=true
|
|
plogConverter=/opt/compiler-explorer/pvs-studio-latest/bin/plog-converter
|
|
|
|
cmake=/opt/compiler-explorer/cmake/bin/cmake
|
|
useninja=false
|
|
ld=/usr/bin/ld
|
|
readelf=/usr/bin/readelf
|
|
mkfifo=/usr/bin/mkfifo
|
|
heaptrackPath=/opt/compiler-explorer/heaptrack-x86_64-v1.3.0
|
|
libSegFaultPath=/opt/compiler-explorer/glibc-tools-x86_64
|
|
|
|
formatters=clangformat:rustfmt:gofmt:dartformat:vfmt
|
|
formatter.clangformat.name=clangformat
|
|
formatter.clangformat.exe=/opt/compiler-explorer/clang-trunk/bin/clang-format
|
|
formatter.clangformat.styles=Google:LLVM:Mozilla:Chromium:WebKit:Microsoft:GNU
|
|
formatter.clangformat.type=clangformat
|
|
formatter.rustfmt.name=rustfmt
|
|
formatter.rustfmt.exe=/opt/compiler-explorer/rust-1.89.0/bin/rustfmt
|
|
formatter.rustfmt.styles=
|
|
formatter.rustfmt.type=rustfmt
|
|
formatter.gofmt.name=gofmt
|
|
formatter.gofmt.exe=/opt/compiler-explorer/golang-1.17/go/bin/gofmt
|
|
formatter.gofmt.styles=
|
|
formatter.gofmt.type=gofmt
|
|
formatter.gofmt.explicitVersion=gofmt 1.17
|
|
formatter.dartformat.name=dartformat
|
|
formatter.dartformat.exe=/opt/compiler-explorer/dart-2.16.1/bin/dart
|
|
formatter.dartformat.styles=
|
|
formatter.dartformat.type=dartformat
|
|
formatter.vfmt.name=vfmt
|
|
formatter.vfmt.exe=/opt/compiler-explorer/v-2023.30/v
|
|
formatter.vfmt.styles=
|
|
formatter.vfmt.type=vfmt
|
|
|
|
thirdPartyIntegrationEnabled=true
|
|
statusTrackingEnabled=true
|
|
|
|
compilationStatsNotifier=S3(compiler-explorer-logs,compile-stats,us-east-1,15m)
|
|
|
|
# We have cloudfront set up to time out POSTs after 60s. We should abandon any queued compilations after that, as they
|
|
# will just clog up the queue and make this node appear unhealthy; and the client's already gone away by now.
|
|
compilationStaleAfterMs=60000
|
|
|
|
compilerVersionsUrl=https://api.compiler-explorer.com/get_deployed_exe_version
|
|
|
|
# Execution worker mode configuration
|
|
execqueue.is_worker=false
|
|
execqueue.remote_archs_url=https://api.compiler-explorer.com/get_remote_execution_archs
|
|
execqueue.queue_url=https://sqs.us-east-1.amazonaws.com/052730242331/prod-execqueue
|
|
execqueue.events_url=wss://events.compiler-explorer.com/prod
|
|
|
|
# Compilation worker mode configuration
|
|
compilequeue.is_worker=true
|
|
compilequeue.queue_url=https://sqs.us-east-1.amazonaws.com/052730242331/prod-compilation-queue.fifo
|
|
compilequeue.events_url=wss://events.compiler-explorer.com/prod
|
|
compilequeue.worker_threads=2
|
|
compilequeue.poll_interval_ms=1000
|