refactor: move reloading related logic to Reload.hs

This commit moves, schema cache reload, config reload and listener
reload logic to `Reload.hs` module.

Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
This commit is contained in:
Taimoor Zaeem
2026-07-25 14:39:48 +05:00
parent e32e2b07b5
commit f6d34fd4fc
5 changed files with 302 additions and 293 deletions
+1 -1
View File
@@ -47,6 +47,7 @@ library
PostgREST.App
PostgREST.AppState
PostgREST.AppState.Pool
PostgREST.AppState.Reload
PostgREST.AppState.Types
PostgREST.Auth
PostgREST.Auth.Jwt
@@ -70,7 +71,6 @@ library
PostgREST.SchemaCache.Table
PostgREST.Error
PostgREST.Error.Types
PostgREST.Listener
PostgREST.Logger
PostgREST.MainTx
PostgREST.Logger.Apache