Files
compiler-explorer/etc/config/compiler-explorer.defaults.properties
2025-09-08 22:07:47 +02:00

73 lines
2.2 KiB
Properties

# Default settings for GCC Explorer.
compileTimeoutMs=200000
binaryExecTimeoutMs=100000
defaultSource=builtin
cacheConfig=InMemory(50)
executableCacheConfig=InMemory(50)
apiMaxAgeSecs=600
maxConcurrentCompiles=4
staticMaxAgeSecs=1
maxUploadSize=16mb
supportsExecute=true
optionsAllowedRe=.*
# For local instances, you can use optionsForbiddenRe for extra hardening - preventing clang plugins etc. Today the live site uses nsjail instead.
# optionsForbiddenRe=^(-W[alp],)?((--?(wrapper|fplugin.*|specs|load|plugin|include|fmodule-mapper)|(@.*)|-I|-i)(=.*)?|--)$
allowedShortUrlHostRe=^([-a-z.]+\.)?(xania|godbolt)\.org$
urlShortenService=default
storageSolution=local
localStorageFolder=./lib/storage/data/
showSponsors=false
compilerCacheConfig=OnDisk(out/compiler-cache,1024)
demanglerType=default
objdumperType=default
python3=/usr/bin/python3
cvCompilerCountMax=15
textBanner=Compilation provided by Compiler Explorer at https://godbolt.org/
# If you run your own public instance of Compiler Explorer you are encouraged to write your own cookie policy and
# privacy policy, and then to enable both these below.
cookiePolicyEnabled=false
privacyPolicyEnabled=false
supportsLibraryCodeFilter=false
ldPath=${exePath}/../lib|${exePath}/../lib32|${exePath}/../lib64
ceToolsPath=../compiler-explorer-tools
remoteStorageServer=https://godbolt.org
# this timeout exists only to work around a bug (#1875)
# it is set to 5 minutes so that it will never be triggered
# under any normal circumstances
compilationEnvTimeoutMs=3000000
# this timeout determines when a compilation in the queue is abandoned because it has been waiting too long and the
# client will have given up on it by now
compilationStaleAfterMs=100000
cmake=cmake
useninja=false
ld=ld
readelf=readelf
mkfifo=/usr/bin/mkfifo
heaptrackPath=
# set this true to keep temporary folders for a while for debugging purposes
delayCleanupTemp=false
thirdPartyIntegrationEnabled=true
statusTrackingEnabled=true
# adds endpoint '/localexecution/:hash' for testing of remote execution
localexecutionEndpoint=false
# Compilation worker mode configuration
compilequeue.is_worker=false
compilequeue.queue_url=
compilequeue.events_url=
compilequeue.worker_threads=2
compilequeue.poll_interval_ms=1000