mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Rename replyCount to replyCntMux in cgr-tester
This commit is contained in:
committed by
Dan Christian Bogos
parent
5e846c792d
commit
52698ba477
@@ -93,7 +93,7 @@ var (
|
||||
fPath = cgrTesterFlags.String("file_path", "", "read requests from file with path")
|
||||
reqSep = cgrTesterFlags.String("req_separator", "\n\n", "separator for requests in file")
|
||||
verbose = cgrTesterFlags.Bool(utils.VerboseCgr, false, "Enable detailed verbose logging output")
|
||||
replyCount sync.RWMutex
|
||||
replyCntMux sync.RWMutex
|
||||
err error
|
||||
)
|
||||
|
||||
@@ -292,9 +292,9 @@ func main() {
|
||||
if err := callSessions(digitMin, digitMax); err != nil {
|
||||
log.Fatal(err.Error())
|
||||
}
|
||||
replyCount.Lock()
|
||||
replyCntMux.Lock()
|
||||
rplyNr++
|
||||
replyCount.Unlock()
|
||||
replyCntMux.Unlock()
|
||||
|
||||
}()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user