@@ -15,22 +15,14 @@ defmodule Plausible.Application do
15
15
16
16
children =
17
17
[
18
- Plausible.PromEx ,
19
18
Plausible.Cache.Stats ,
19
+ Plausible.PromEx ,
20
+ { Plausible.Auth.TOTP.Vault , key: totp_vault_key ( ) } ,
20
21
Plausible.Repo ,
21
22
Plausible.ClickhouseRepo ,
22
23
Plausible.IngestRepo ,
23
24
Plausible.AsyncInsertRepo ,
24
25
Plausible.ImportDeletionRepo ,
25
- { Plausible.Auth.TOTP.Vault , key: totp_vault_key ( ) } ,
26
- { Plausible.RateLimit , clean_period: :timer . minutes ( 10 ) } ,
27
- Plausible.Ingestion.Counters ,
28
- { Finch , name: Plausible.Finch , pools: finch_pool_config ( ) } ,
29
- { Phoenix.PubSub , name: Plausible.PubSub } ,
30
- Plausible.Session.Salts ,
31
- Supervisor . child_spec ( Plausible.Event.WriteBuffer , id: Plausible.Event.WriteBuffer ) ,
32
- Supervisor . child_spec ( Plausible.Session.WriteBuffer , id: Plausible.Session.WriteBuffer ) ,
33
- ReferrerBlocklist ,
34
26
Plausible.Cache.Adapter . child_spec ( :customer_currency , :cache_customer_currency ,
35
27
ttl_check_interval: :timer . minutes ( 5 ) ,
36
28
global_ttl: :timer . minutes ( 60 )
@@ -103,6 +95,14 @@ defmodule Plausible.Application do
103
95
]
104
96
)
105
97
end ,
98
+ Plausible.Ingestion.Counters ,
99
+ Plausible.Session.Salts ,
100
+ Supervisor . child_spec ( Plausible.Event.WriteBuffer , id: Plausible.Event.WriteBuffer ) ,
101
+ Supervisor . child_spec ( Plausible.Session.WriteBuffer , id: Plausible.Session.WriteBuffer ) ,
102
+ ReferrerBlocklist ,
103
+ { Plausible.RateLimit , clean_period: :timer . minutes ( 10 ) } ,
104
+ { Finch , name: Plausible.Finch , pools: finch_pool_config ( ) } ,
105
+ { Phoenix.PubSub , name: Plausible.PubSub } ,
106
106
endpoint ,
107
107
{ Oban , Application . get_env ( :plausible , Oban ) } ,
108
108
on_ee do
0 commit comments