mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-11 07:13:31 -07:00
Make batch IDs smaller
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ func (bm *BatchManager) NewID() string {
|
||||
bm.idCounter = 0
|
||||
}
|
||||
|
||||
return strconv.FormatInt(time.Now().UnixNano(), 10) + strconv.FormatUint(bm.idCounter, 10)
|
||||
return strconv.FormatInt(time.Now().UnixNano(), 36) + strconv.FormatUint(bm.idCounter, 36)
|
||||
}
|
||||
|
||||
// Batch represents an IRCv3 batch.
|
||||
|
||||
Reference in New Issue
Block a user