ing
This commit is contained in:
parent
b0b7d86644
commit
78aa443d2d
|
@ -123,6 +123,7 @@ func handleServlet(s *rpcServlet) {
|
||||||
logging.Logger().Info(fmt.Sprintf("Servlet is started"))
|
logging.Logger().Info(fmt.Sprintf("Servlet is started"))
|
||||||
|
|
||||||
defer func() {
|
defer func() {
|
||||||
|
s.Stop()
|
||||||
s.doneChan <- err
|
s.doneChan <- err
|
||||||
s.stopWg.Done()
|
s.stopWg.Done()
|
||||||
}()
|
}()
|
||||||
|
@ -151,7 +152,7 @@ func handleServlet(s *rpcServlet) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logging.Logger().Error(fmt.Sprintf("RPC Server: servlet error %v", err))
|
logging.Logger().Error(fmt.Sprintf("RPC Server: servlet error %v", err))
|
||||||
}
|
}
|
||||||
logging.Logger().Info(fmt.Sprintf("Servlet is started"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func handleReader(s *rpcServlet, stopChan chan struct{}, doneChan chan error) {
|
func handleReader(s *rpcServlet, stopChan chan struct{}, doneChan chan error) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user