mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 07:46:11 +02: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}]
|
||||||
|
|
|
@ -386,7 +386,7 @@
|
||||||
[:& menu-entry {:title (tr "workspace.shape.menu.add-flex")
|
[:& menu-entry {:title (tr "workspace.shape.menu.add-flex")
|
||||||
:shortcut (sc/get-tooltip :toogle-layout-flex)
|
:shortcut (sc/get-tooltip :toogle-layout-flex)
|
||||||
:on-click add-flex}]]
|
:on-click add-flex}]]
|
||||||
|
|
||||||
is-flex-container?
|
is-flex-container?
|
||||||
[:*
|
[:*
|
||||||
[:& menu-separator]
|
[:& menu-separator]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue