MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / nowTs

Method nowTs

IceFireDB-SQLite/pkg/mysql/client/pool.go:193–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191}
192
193func (pool *Pool) nowTs() Timestamp {
194 return Timestamp(time.Now().Unix())
195}
196
197func (pool *Pool) getConnection(ctx context.Context) (Connection, error) {
198 pool.synchro.Lock()

Callers 4

GetConnMethod · 0.95
PutConnMethod · 0.95
createNewConnectionMethod · 0.95
getOldIdleConnectionsMethod · 0.95

Calls 1

TimestampTypeAlias · 0.70

Tested by

no test coverage detected