mozilla / webcompat-dashboard

Web Compatibility Knowledge Base Next Generation Dashboard
Mozilla Public License 2.0
2 stars 2 forks source link

Async report processing #19

Closed moztcampbell closed 7 months ago

moztcampbell commented 7 months ago

Use Worker API to move the JS processing of bigquery results off the main thread. We were encountering problems with the mainthread being blocked and heartbeat requests not being answered. This was leading to k8s killing the pod.

Unfortunately, the use of workers + typescript is kind of a WIP, so to get this working I updated the node options to use the ts loader. This probably should be cleaned up in future..

moztcampbell commented 7 months ago

I'll catch the experimentwarning stuff in a separate patch.