File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 55package setting
66
77import (
8- "fmt"
98 "path/filepath"
109 "strconv"
1110 "time"
@@ -125,10 +124,10 @@ func NewQueueService() {
125124 }
126125 }
127126 if ! directlySet ["LENGTH" ] && Indexer .UpdateQueueLength != 0 {
128- _ , _ = section .NewKey ("LENGTH" , fmt . Sprintf ( "%d" , Indexer .UpdateQueueLength ))
127+ _ , _ = section .NewKey ("LENGTH" , strconv . Itoa ( Indexer .UpdateQueueLength ))
129128 }
130129 if ! directlySet ["BATCH_LENGTH" ] && Indexer .IssueQueueBatchNumber != 0 {
131- _ , _ = section .NewKey ("BATCH_LENGTH" , fmt . Sprintf ( "%d" , Indexer .IssueQueueBatchNumber ))
130+ _ , _ = section .NewKey ("BATCH_LENGTH" , strconv . Itoa ( Indexer .IssueQueueBatchNumber ))
132131 }
133132 if ! directlySet ["DATADIR" ] && Indexer .IssueQueueDir != "" {
134133 _ , _ = section .NewKey ("DATADIR" , Indexer .IssueQueueDir )
You can’t perform that action at this time.
0 commit comments