Merge pull request #1259 from c9s/c9s/fix-trade-deadlock

FIX: core: fix trade collector dead lock
This commit is contained in:
c9s 2023-08-01 22:41:10 +08:00 committed by GitHub
commit 7adc786c8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -121,4 +121,4 @@ func Test_FormatString(t *testing.T) {
assert.Equal(t, c.expected, s)
})
}
}
}

View File

@ -14,7 +14,7 @@ func TestGetMigrationsMap(t *testing.T) {
func TestMergeMigrationsMap(t *testing.T) {
MergeMigrationsMap(map[int64]*rockhopper.Migration{
2: &rockhopper.Migration{},
3: &rockhopper.Migration{},
2: {},
3: {},
})
}