mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
Update to version 8.5.5
Former-commit-id: b5be58709f17758a8df3ebc99270b97ccd8b18f2
This commit is contained in:
@@ -22,8 +22,6 @@ func main() {
|
||||
IdleTimeout: service.DefaultRedisIdleTimeout,
|
||||
Prefix: ""}) // optionally configure the bridge between your redis server
|
||||
|
||||
// use go routines to query the database
|
||||
db.Async(true)
|
||||
// close connection when control+C/cmd+C
|
||||
iris.RegisterOnInterrupt(func() {
|
||||
db.Close()
|
||||
|
||||
Reference in New Issue
Block a user