tileserver-gl icon indicating copy to clipboard operation
tileserver-gl copied to clipboard

race in serve_rendered.js together with serveAllStyles

Open xabbu42 opened this issue 4 years ago • 0 comments

There is a small race in serve_rendered.js as it returns a promise accessing the passed repo hash. But when the code is actually executed the the key in repo could already be removed again. I managed to trigger this in branch of mine which seemed to slow down stuff at startup enough that this together with the way serveAllStyles handles change events (by removing and readding styles) let the server crash.

xabbu42 avatar Jan 05 '21 14:01 xabbu42