Skip to content

Session persistence #2

Description

@yortus

session-file-store was causing EPERM errors on Windows (see isaacs/node-graceful-fs#104).

As a result, the code was switched over to use connect-loki.

This library doesn't look well-maintained and the following issues need addressing:

  • TTL doesn't work (see ttl does not work requarks/connect-loki#7) (TODO: confirm this problem in routist).
  • The store is somehow keeping the node process alive even after the HTTP server is closed. session-file-store did this too and needed cleanup code to clear the reapInterval timer. Suspect LokiJS persistence adapter is keeping things alive now, because connect-loki never closes it. See LokiJS docs (find close on the page).

Need to either find another persistence solution, or address the above issues in connect-loki.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions