mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 03:47:04 +00:00
Update to version 8.5.5
Former-commit-id: b5be58709f17758a8df3ebc99270b97ccd8b18f2
This commit is contained in:
@@ -12,9 +12,6 @@ import (
|
||||
func main() {
|
||||
db, _ := leveldb.New("./sessions/")
|
||||
|
||||
// use different go routines to sync the database
|
||||
db.Async(true)
|
||||
|
||||
// close and unlock the database when control+C/cmd+C pressed
|
||||
iris.RegisterOnInterrupt(func() {
|
||||
db.Close()
|
||||
|
||||
Reference in New Issue
Block a user