Constants.hs 696 Bytes
{-|
Module      : Gargantext.Core.AsyncUpdates.Constants
Description : Various constants
Copyright   : (c) CNRS, 2017-Present
License     : AGPL + CECILL v3
Maintainer  : team@gargantext.org
Stability   : experimental
Portability : POSIX

https://gitlab.iscpif.fr/gargantext/haskell-gargantext/issues/341

Docs:
https://dev.sub.gargantext.org/#/share/Notes/187918
    
-}

module Gargantext.Core.AsyncUpdates.Constants where

import Gargantext.Prelude

-- | Port where the central exchange listens (on localhost)
cePort :: Int
cePort = 5560
    
-- | Port where the dispatcher listens (on localhost) for messages from central exchange
dispatcherInternalPort :: Int
dispatcherInternalPort = 5561