hackoregon / transportation-backend

Transportation backend repo - 2016 and 2017
8 stars 7 forks source link

[WIP] hoping this addresses issue 45 in this repo #48

Closed MikeTheCanuck closed 7 years ago

MikeTheCanuck commented 7 years ago

Meant to fix #45

MikeTheCanuck commented 7 years ago

This particular commit I tried as a means of working around the problem that anytime a request comes in to the /conflicts/ endpoint, the worker (gevent in our current deployment) "thread" that is listening for incoming requests seems to die and immediately get restarted. It's as if there some weird race condition in handling the request for /conflicts/ endpoint that causes the gevent process to throw an unhandled exception and die hard.