0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-07 15:39:42 -05:00

🐛 Fix slow exit of exporter docker container

This commit is contained in:
Andrey Antukh 2022-12-22 15:16:19 +01:00
parent 81ecb26f8b
commit ef9dcf391d

View file

@ -44,3 +44,6 @@
(proc/on "uncaughtException" (proc/on "uncaughtException"
(fn [cause] (fn [cause]
(js/console.error cause))) (js/console.error cause)))
(proc/on "SIGTERM" (fn [] (proc/exit 0)))
(proc/on "SIGINT" (fn [] (proc/exit 0)))