refactor: Listener to own module

This commit is contained in:
steve-chavez
2024-05-23 19:34:42 -05:00
committed by Steve Chavez
parent 4e0ffa6d0a
commit 47e9a2d134
6 changed files with 132 additions and 89 deletions
+11
View File
@@ -61,3 +61,14 @@ Admin
-----
`Admin.hs <https://github.com/PostgREST/postgrest/blob/main/src/PostgREST/Admin.hs>`_ is in charge of the :ref:`admin_server`.
HTTP
----
The HTTP server is provided by `Warp <https://aosabook.org/en/posa/warp.html>`_.
Listener
--------
`Listener.hs <https://github.com/PostgREST/postgrest/blob/main/src/PostgREST/Listener.hs>`_ is in charge of maintaining a `LISTEN session <https://www.postgresql.org/docs/current/sql-listen.html>`_
that keeps the :ref:`schema_cache` and the :ref:`in_db_config` up to date.