githubbob42 / mingle2github2

0 stars 1 forks source link

Decouple current sync from express session #2233

Open githubbob42 opened 5 years ago

githubbob42 commented 5 years ago

Mingle Card: 2478 In order to extract the current sync into a background worker, we must eliminate the dependency sync has on ExpressJs Sessions (since the worker will be stateless).

The Express session contains:

It should be possible to encapsulate the state necessary to complete a sync by adding the required state to the QueryHandler instance that is passed to the sync.get() method.

githubbob42 commented 5 years ago

Story: #2210 Worker process should manage the request queue (Mingle)