mirror of
https://github.com/pushbits/server.git
synced 2025-08-01 15:49:09 +02:00
Fix tests after Go update
This commit is contained in:
parent
0b8d22d293
commit
ed78c18c24
3 changed files with 7 additions and 6 deletions
|
@ -17,7 +17,7 @@ import (
|
|||
var version string
|
||||
|
||||
func setupCleanup(db *database.Database, dp *dispatcher.Dispatcher) {
|
||||
c := make(chan os.Signal)
|
||||
c := make(chan os.Signal, 2)
|
||||
signal.Notify(c, os.Interrupt, syscall.SIGTERM)
|
||||
|
||||
go func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue