Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/QuantumNous/new-api
/ Unlock
Method
Unlock
controller/user.go:1141–1146 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1139
}
1140
1141
func
(l *topUpTryLock) Unlock() {
1142
select
{
1143
case
<-l.ch:
1144
default:
1145
}
1146
}
1147
1148
func
getTopUpLock(userID int) *topUpTryLock {
1149
if
v, ok := topUpLocks.Load(userID); ok {
Callers
15
GetBase64Data
Method · 0.80
Close
Method · 0.80
UnmarshalJSON
Method · 0.80
Set
Method · 0.80
AddAll
Method · 0.80
Clear
Method · 0.80
LoadFromJsonString
Function · 0.80
LoadFromJsonStringWithCallback
Function · 0.80
withHeaderNavModules
Function · 0.80
SetupLogger
Function · 0.80
LockOrder
Function · 0.80
UnlockOrder
Function · 0.80
Calls
no outgoing calls
Tested by
10
withHeaderNavModules
Function · 0.64
TestShouldSendUpstreamModelUpdateNotification
Function · 0.64
withSystemTaskRegistry
Function · 0.64
FetchTask
Method · 0.64
fetchCount
Method · 0.64
fetchedTaskIDs
Method · 0.64
TestRelayErrorHandlerTruncatesInvalidJSONBodyInLog
Function · 0.64
TestRelayErrorHandlerKeepsInvalidJSONBodyInDebugLog
Function · 0.64
TestLogQuotaDataSplitsRowsByUseGroupTokenChannelAndNode
Function · 0.64
TestStreamScannerHandler_OrderPreserved
Function · 0.64