mirror of
https://github.com/kataras/iris.git
synced 2026-01-23 20:05:59 +00:00
update badger db to its latest version and remove it from gopkg.toml/lock because it's vendored inside the sessionsdb/badger itself, this should fix https://github.com/kataras/iris/issues/848
Former-commit-id: 006b1d4d3c8dbe09b448ff33dade8978fddef4eb
This commit is contained in:
@@ -165,7 +165,7 @@ func (db *Database) sync(p sessions.SyncPayload) {
|
||||
|
||||
txn := db.Service.NewTransaction(true)
|
||||
|
||||
err = txn.Set(bsid, s, 0x00)
|
||||
err = txn.Set(bsid, s)
|
||||
if err != nil {
|
||||
txn.Discard()
|
||||
golog.Errorf("error while trying to save the session(%s) to the database: %v", p.SessionID, err)
|
||||
|
||||
Reference in New Issue
Block a user