diff options
| author | 2021-09-23 11:13:28 +0200 | |
|---|---|---|
| committer | 2021-09-23 11:13:28 +0200 | |
| commit | 142f37f1bd0291f74e12002931d05174f3a31741 (patch) | |
| tree | d2e5d80df32a0217a442cfd9ba207d5e88879b77 /vendor/github.com/uptrace/bun/db.go | |
| parent | update media processing (#244) (diff) | |
| download | gotosocial-142f37f1bd0291f74e12002931d05174f3a31741.tar.xz | |
upstep bun version (#243)
Diffstat (limited to 'vendor/github.com/uptrace/bun/db.go')
| -rw-r--r-- | vendor/github.com/uptrace/bun/db.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/github.com/uptrace/bun/db.go b/vendor/github.com/uptrace/bun/db.go index 8514ca93f..9c9c8f9ff 100644 --- a/vendor/github.com/uptrace/bun/db.go +++ b/vendor/github.com/uptrace/bun/db.go @@ -18,8 +18,8 @@ const ( ) type DBStats struct { - Queries uint64 - Errors uint64 + Queries uint32 + Errors uint32 } type DBOption func(db *DB) @@ -70,8 +70,8 @@ func (db *DB) String() string { func (db *DB) DBStats() DBStats { return DBStats{ - Queries: atomic.LoadUint64(&db.stats.Queries), - Errors: atomic.LoadUint64(&db.stats.Errors), + Queries: atomic.LoadUint32(&db.stats.Queries), + Errors: atomic.LoadUint32(&db.stats.Errors), } } |
