FEATURE: Added execution caching to reduce database access
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
NAME=shuffle-orborus
|
||||
VERSION=0.8.40
|
||||
VERSION=0.8.41
|
||||
|
||||
echo "Running docker build with $NAME:$VERSION"
|
||||
#docker rmi frikky/shuffle:$NAME --force
|
||||
|
||||
@@ -115,7 +115,7 @@ func getThisContainerId() {
|
||||
}
|
||||
} else {
|
||||
containerId = "shuffle-orborus"
|
||||
log.Printf("Failed getting container ID: %s", err)
|
||||
log.Printf("[WARNING] Failed getting container ID: %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -470,7 +470,7 @@ func main() {
|
||||
continue
|
||||
}
|
||||
|
||||
log.Printf("Got %d new requests. Executing: %d. Max: %d", len(executionRequests.Data), executionCount, maxConcurrency)
|
||||
//log.Printf("[INFO] Got %d new requests. Executing: %d. Max: %d", len(executionRequests.Data), executionCount, maxConcurrency)
|
||||
|
||||
allowed := maxConcurrency - executionCount
|
||||
if len(executionRequests.Data) > allowed {
|
||||
|
||||
Reference in New Issue
Block a user