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
bf389e5b
authored
Feb 14, 2020
by
丁松杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除不必要的代码
parent
d0e3d7c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
src/Pole.Core/EventBus/Bus.cs
src/Pole.Core/EventBus/Bus.cs
View file @
bf389e5b
...
...
@@ -57,13 +57,11 @@ namespace Pole.Core.EventBus
}
else
{
var
transaction
=
(
IDbTransactionAdapter
)
Transaction
;
var
mediumMessage
=
eventStorage
.
StoreMessage
(
eventEntity
,
Transaction
.
DbTransaction
)
;
var
mediumMessage
=
eventStorage
.
StoreMessage
(
eventEntity
,
transaction
.
DbTransaction
);
if
(
transaction
.
AutoCommit
)
if
(
Transaction
.
AutoCommit
)
{
await
t
ransaction
.
CommitAsync
();
await
T
ransaction
.
CommitAsync
();
}
}
...
...
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