Skip to content
  • Daniel Lee's avatar
    session: fork Macaron mysql session middleware · 3ca1e065
    Daniel Lee authored
    This changes forks the mysql part of the Macaron session middleware.
    
    In the forked mysql file:
    
    - takes in a config setting for SetConnMaxLifetime (this solves wait_timeout
    problem if it is set to a shorter interval than wait_timeout)
    - removes the panic when an error is returned in the Exist function.
    - retries the exist query once
    - retries the GC query once
    3ca1e065