Skip to content

Commit

Permalink
Update MySQLSessionDriver.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
123FLO321 authored Sep 26, 2018
1 parent f6c2099 commit 67782e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/MySQLSessionDriver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public struct SessionMySQLDriver {
requestFilter = (filter, HTTPFilterPriority.high)
responseFilter = (filter, HTTPFilterPriority.high)

queue = DispatchQueue(label: UUID().string)
queue = DispatchQueue(label: Foundation.UUID().uuidString)
queue.asyncAfter(deadline: (.now() + Double(SessionConfig.purgeInterval))) {
let s = MySQLSessions()
s.clean()
Expand Down Expand Up @@ -110,7 +110,6 @@ extension SessionMySQLFilter: HTTPResponseFilter {
return callback(.continue)
}

driver.save(session: session)
let sessionID = session.token

// 0.0.6 updates
Expand Down

0 comments on commit 67782e7

Please sign in to comment.