mirror of
https://github.com/penpot/penpot.git
synced 2025-02-09 00:28:20 -05:00
✨ Improve default update-file webhook batch timeout
This commit is contained in:
parent
a8f65ba69e
commit
6a7a25121e
3 changed files with 2 additions and 3 deletions
|
@ -152,7 +152,6 @@
|
||||||
:props (:props event)}]
|
:props (:props event)}]
|
||||||
|
|
||||||
(when (contains? cf/flags :audit-log)
|
(when (contains? cf/flags :audit-log)
|
||||||
|
|
||||||
;; NOTE: this operation may cause primary key conflicts on inserts
|
;; NOTE: this operation may cause primary key conflicts on inserts
|
||||||
;; because of the timestamp precission (two concurrent requests), in
|
;; because of the timestamp precission (two concurrent requests), in
|
||||||
;; this case we just retry the operation.
|
;; this case we just retry the operation.
|
||||||
|
|
|
@ -131,7 +131,7 @@
|
||||||
{::climit/queue :update-file
|
{::climit/queue :update-file
|
||||||
::climit/key-fn :id
|
::climit/key-fn :id
|
||||||
::webhooks/event? true
|
::webhooks/event? true
|
||||||
::webhooks/batch-timeout (dt/duration "2s")
|
::webhooks/batch-timeout (dt/duration "2m")
|
||||||
::webhooks/batch-key webhook-batch-keyfn
|
::webhooks/batch-key webhook-batch-keyfn
|
||||||
::doc/added "1.17"}
|
::doc/added "1.17"}
|
||||||
[{:keys [pool] :as cfg} {:keys [id profile-id] :as params}]
|
[{:keys [pool] :as cfg} {:keys [id profile-id] :as params}]
|
||||||
|
|
Loading…
Add table
Reference in a new issue