mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Merge pull request #3919 from nats-io/jarema/fix-service-export-nil-pointer
This commit is contained in:
@@ -2360,7 +2360,9 @@ func (a *Account) addRespServiceImport(dest *Account, to string, osi *serviceImp
|
||||
|
||||
// Always grab time and make sure response threshold timer is running.
|
||||
si.ts = time.Now().UnixNano()
|
||||
osi.se.setResponseThresholdTimer()
|
||||
if osi.se != nil {
|
||||
osi.se.setResponseThresholdTimer()
|
||||
}
|
||||
|
||||
if rt == Singleton && tracking {
|
||||
si.latency = osi.latency
|
||||
|
||||
Reference in New Issue
Block a user