aboutsummaryrefslogtreecommitdiffstats
path: root/modules/indexer/stats/queue.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/indexer/stats/queue.go')
-rw-r--r--modules/indexer/stats/queue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/indexer/stats/queue.go b/modules/indexer/stats/queue.go
index 8309cfcd3b..fde3f2ff01 100644
--- a/modules/indexer/stats/queue.go
+++ b/modules/indexer/stats/queue.go
@@ -27,7 +27,7 @@ func handle(data ...queue.Data) {
}
func initStatsQueue() error {
- statsQueue = queue.CreateUniqueQueue("repo_stats_update", handle, int64(0)).(queue.UniqueQueue)
+ statsQueue = queue.CreateUniqueQueue("repo_stats_update", handle, int64(0))
if statsQueue == nil {
return fmt.Errorf("Unable to create repo_stats_update Queue")
}