id on peer
This commit is contained in:
		| @@ -69,7 +69,7 @@ func (m *MongoDB) createClient(MongoURL string) error { | ||||
| 		isConnected = false | ||||
| 		return errors.New("Mongodb connect " + MongoURL + ":" + err.Error()) | ||||
| 	} | ||||
| 	MngoCtx, cancel = context.WithTimeout(context.Background(), 10*time.Second) | ||||
| 	MngoCtx, cancel = context.WithTimeout(context.Background(), 60*time.Second) | ||||
| 	defer cancel() | ||||
|  | ||||
| 	if err = mngoClient.Ping(MngoCtx, nil); err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user