diff options
author | Kegsay <kegan@matrix.org> | 2020-10-13 10:20:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 10:20:27 +0100 |
commit | d7ea814fa80ea2aba671be17c7d985d1191fbf6a (patch) | |
tree | a27cc30fac9d2ff278784ac337e14bff034c7e76 /internal | |
parent | 73bc28b11f10a7ff1582b9e5b9cffe53cd029104 (diff) |
Wrap NewMembershipUpdater in a db writer (#1515)
Diffstat (limited to 'internal')
-rw-r--r-- | internal/sqlutil/trace.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/sqlutil/trace.go b/internal/sqlutil/trace.go index 23359b50..0684e92e 100644 --- a/internal/sqlutil/trace.go +++ b/internal/sqlutil/trace.go @@ -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, |