Skip to content

Commit

Permalink
Update Program.cs (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfs committed Jun 2, 2020
1 parent dd82f6e commit e869990
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Cli/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -995,11 +995,8 @@ public static int RunCollectCommand(CollectCommandOptions opts)
try
{
DatabaseManager.BeginTransaction();

Task.Run(() =>
{
c.TryExecute();
});

c.TryExecute();

while(c.RunStatus == RUN_STATUS.RUNNING)
{
Expand Down

0 comments on commit e869990

Please sign in to comment.