Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
丁松杰
/
Pole
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
559380c1
authored
Feb 27, 2020
by
dingsongjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
88a47a80
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/Pole.EventBus.Rabbitmq/Consumer/ConsumerRunner.cs
src/Pole.EventStorage.PostgreSql/PostgreSqlEventStorage.cs
src/Pole.EventBus.Rabbitmq/Consumer/ConsumerRunner.cs
View file @
559380c1
...
...
@@ -62,7 +62,6 @@ namespace Pole.EventBus.RabbitMQ
BasicConsumer
=
new
EventingBasicConsumer
(
Model
.
Model
);
BasicConsumer
.
Received
+=
async
(
ch
,
ea
)
=>
{
await
mpscChannel
.
WriteAsync
(
ea
);
};
BasicConsumer
.
ConsumerTag
=
Model
.
Model
.
BasicConsume
(
Queue
.
Queue
,
Consumer
.
Config
.
AutoAck
,
BasicConsumer
);
...
...
src/Pole.EventStorage.PostgreSql/PostgreSqlEventStorage.cs
View file @
559380c1
...
...
@@ -92,7 +92,8 @@ $"UPDATE {tableName} SET \"Retries\"=@Retries,\"ExpiresAt\"=@ExpiresAt,\"StatusN
Name
=
reader
.
GetString
(
2
),
Content
=
reader
.
GetString
(
3
),
Retries
=
reader
.
GetInt32
(
4
),
Added
=
reader
.
GetDateTime
(
5
)
Added
=
reader
.
GetDateTime
(
5
),
StatusName
=
reader
.
GetString
(
7
)
});
}
...
...
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