mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-29 12:42:46 +00:00
Wrap NewMembershipUpdater in a db writer (#1515)
This commit is contained in:
parent
73bc28b11f
commit
d7ea814fa8
2 changed files with 15 additions and 6 deletions
|
@ -93,7 +93,7 @@ func trackGoID(query string) {
|
|||
if strings.HasPrefix(q, "SELECT") {
|
||||
return // SELECTs can go on other goroutines
|
||||
}
|
||||
logrus.Warnf("unsafe goid: SQL executed not on an ExclusiveWriter: %s", q)
|
||||
logrus.Warnf("unsafe goid %d: SQL executed not on an ExclusiveWriter: %s", thisGoID, q)
|
||||
}
|
||||
|
||||
// Open opens a database specified by its database driver name and a driver-specific data source name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue