Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-bee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-bee
Commits
6df83ec4
Commit
6df83ec4
authored
Dec 03, 2024
by
Alfredo Di Napoli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use newtypes when appropriate
parent
dace7b41
Pipeline
#7075
failed with stages
in 2 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
PGMQ.hs
src/Async/Worker/Broker/PGMQ.hs
+3
-3
No files found.
src/Async/Worker/Broker/PGMQ.hs
View file @
6df83ec4
...
...
@@ -44,10 +44,10 @@ instance (SerializableMessage a, Show a) => MessageBroker PGMQBroker a where
conn
::
PSQL
.
Connection
,
defaultVt
::
PGMQ
.
VisibilityTimeout
}
data
BrokerMessage
PGMQBroker
a
=
PGMQBM
(
PGMQ
.
Message
a
)
newtype
BrokerMessage
PGMQBroker
a
=
PGMQBM
(
PGMQ
.
Message
a
)
deriving
(
Show
)
data
Message
PGMQBroker
a
=
PGMQM
a
data
MessageId
PGMQBroker
=
PGMQMid
Int
newtype
Message
PGMQBroker
a
=
PGMQM
a
newtype
MessageId
PGMQBroker
=
PGMQMid
Int
deriving
(
Eq
,
Show
,
Ord
,
Generic
)
data
BrokerInitParams
PGMQBroker
a
=
PGMQBrokerInitParams
PSQL
.
ConnectInfo
PGMQ
.
VisibilityTimeout
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment