shared hashes: separate background job with visible state
Cross Compile Go / build (push) Canceled after 0s
Cross Compile Go / build (push) Canceled after 0s
- compute duplicate-hash statistics in their own job (startup, hourly, on demand) so they no longer block the table stats - single-pass query over DISTINCT (hash, addon_id), 15 min timeout - record errors and panics; never stay stuck in a computing state - whitelist page polls while computing, shows errors and a Recompute button; tab is linkable via ?tab=shared
This commit is contained in:
1 parent
56d9e10621
commit
748db94d55
8 files changed
+436
-127
No files matched your search
@@ -21,6 +21,7 @@ func Register(r *gin.Engine) {
|
||||
|
||||
p.GET("/overview", overview)
|
||||
p.GET("/overview/duplicates", duplicateHashes)
|
||||
p.POST("/overview/duplicates/refresh", refreshDuplicates)
|
||||
|
||||
p.GET("/queue", queue)
|
||||
p.POST("/queue/reset-stuck", resetStuck)
|
||||
|
||||
Reference in new issue
Block a user