summaryrefslogtreecommitdiff
path: root/Run
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-04-11 00:38:29 -0700
committerBen Sima <ben@bsima.me>2020-04-11 00:38:29 -0700
commitdd7c95b064ce156c23c1312ef821c0965b900d48 (patch)
treef34206f1d4cada7a565f78c99d535daf28ba8524 /Run
parent5c9a124f7c5a7e8ef05c52b10c14ce856149fa45 (diff)
Make Quepath just a single Text
Prevents nested lists in the app state.
Diffstat (limited to 'Run')
-rw-r--r--Run/Que/Server.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Run/Que/Server.hs b/Run/Que/Server.hs
index 45ad1bc..792676d 100644
--- a/Run/Que/Server.hs
+++ b/Run/Que/Server.hs
@@ -216,7 +216,7 @@ modify f = ask >>= liftIO . atomically . flip STM.modifyTVar' f
type Namespace = Text -- ^ housing for a set of que paths
type Que = Go.Channel Quedata -- ^ a que is just a channel of bytes
-type Quepath = [Text] -- ^ any path can serve as an identifier for a que
+type Quepath = Text -- ^ any path can serve as an identifier for a que
type Quedata = ByteString -- ^ any opaque data
type Quebase = HashMap Quepath Que -- ^ a collection of ques