start working on embeds; add prefork to cfg

This commit is contained in:
Laptop
2024-08-25 23:57:47 +03:00
parent 7ca5a3a9e3
commit 9fa85bb47d
7 changed files with 106 additions and 12 deletions

View File

@@ -28,4 +28,8 @@ const DNSCacheTTL = 10 * time.Minute
// run soundcloak on this address (localhost:4664 by default)
const Addr = ":4664"
// run multiple instances of soundcloud locally to be able to handle more requests
// each one will be a separate process, so they will have separate cache
const Prefork = false
var JSON = jsoniter.ConfigFastest