0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

Merge pull request #2545 from penpot/palba-fix-sleep

🐛 Fix sleep
This commit is contained in:
Andrey Antukh 2022-11-03 09:01:46 +01:00 committed by GitHub
commit 99aea77355
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -85,7 +85,6 @@
(let [payload (prepare-payload event)
response (make-request cfg payload)]
(when-not (= 204 (:status response))
(map? response)
(l/error :hint "error on sending log to loki (unexpected response)"
:response (pr-str response))))
(catch Throwable cause

View file

@ -110,4 +110,4 @@
(defn thread-sleep
[ms]
(Thread/sleep ms))
(Thread/sleep (long ms)))