Resolve issue when proxy could panic.

Issue occured when cache was disabled via environment variables but
graphql queries contained the cache directive.
This commit is contained in:
2024-08-19 11:27:06 +01:00
parent 016374722d
commit dc9e0906fd
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -105,6 +105,7 @@ func parseConfig() {
}
libpack_cache.EnableCache(cacheConfig)
}
loadRatelimitConfig()
once.Do(func() {
go enableApi()