mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
Make batch IDs smaller
This commit is contained in:
parent
07fc902b21
commit
00099eb4ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue