mirror of
https://github.com/penpot/penpot.git
synced 2025-02-11 09:38:56 -05:00
✨ Minor chantes on async tasks scheduling.
This commit is contained in:
parent
03d8bcaea2
commit
fac6dd81b9
3 changed files with 5 additions and 6 deletions
|
@ -189,7 +189,7 @@
|
||||||
:fn (ig/ref :app.tasks.file-media-gc/handler)}
|
:fn (ig/ref :app.tasks.file-media-gc/handler)}
|
||||||
|
|
||||||
{:id "file-xlog-gc"
|
{:id "file-xlog-gc"
|
||||||
:cron #app/cron "0 0 */2 * * ?" ;; every 2 hours
|
:cron #app/cron "0 0 */6 * * ?" ;; every 2 hours
|
||||||
:fn (ig/ref :app.tasks.file-xlog-gc/handler)}
|
:fn (ig/ref :app.tasks.file-xlog-gc/handler)}
|
||||||
|
|
||||||
{:id "storage-gc"
|
{:id "storage-gc"
|
||||||
|
@ -253,8 +253,8 @@
|
||||||
|
|
||||||
:app.tasks.file-xlog-gc/handler
|
:app.tasks.file-xlog-gc/handler
|
||||||
{:pool (ig/ref :app.db/pool)
|
{:pool (ig/ref :app.db/pool)
|
||||||
:max-age (dt/duration {:hours 6})
|
:metrics (ig/ref :app.metrics/metrics)
|
||||||
:metrics (ig/ref :app.metrics/metrics)}
|
:max-age (dt/duration {:hours 24})}
|
||||||
|
|
||||||
:app.tasks.telemetry/handler
|
:app.tasks.telemetry/handler
|
||||||
{:pool (ig/ref :app.db/pool)
|
{:pool (ig/ref :app.db/pool)
|
||||||
|
|
|
@ -12,12 +12,10 @@ http {
|
||||||
sendfile on;
|
sendfile on;
|
||||||
tcp_nopush on;
|
tcp_nopush on;
|
||||||
tcp_nodelay on;
|
tcp_nodelay on;
|
||||||
|
keepalive_requests 30;
|
||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
types_hash_max_size 2048;
|
types_hash_max_size 2048;
|
||||||
|
|
||||||
keepalive_requests 30;
|
|
||||||
keepalive_timeout 30s;
|
|
||||||
|
|
||||||
server_tokens off;
|
server_tokens off;
|
||||||
|
|
||||||
reset_timedout_connection on;
|
reset_timedout_connection on;
|
||||||
|
|
|
@ -4,6 +4,7 @@ This documentation intends to explain how to get penpot application and run it l
|
||||||
|
|
||||||
The simplest approach is using docker and docker-compose.
|
The simplest approach is using docker and docker-compose.
|
||||||
|
|
||||||
|
|
||||||
## Install Docker ##
|
## Install Docker ##
|
||||||
|
|
||||||
Skip this section if you alreasdy have docker installed, up and running.
|
Skip this section if you alreasdy have docker installed, up and running.
|
||||||
|
|
Loading…
Add table
Reference in a new issue