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

Method nowTs

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

Source from the content-addressed store, hash-verified

193}
194
195func (pool *Pool) nowTs() Timestamp {
196 return Timestamp(time.Now().Unix())
197}
198
199func (pool *Pool) getConnection(ctx context.Context) (Connection, error) {
200 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