Commit Graph

18 Commits

Author SHA1 Message Date
ionutboangiu
b7d172f78a Fix misspellings 2023-06-21 11:02:39 +02:00
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +02:00
ionutboangiu
cb7ea790de Update rpcclient library to latest version
Replace all instances of rpcclient.ClientConnector with birpc.ClientConnector.

Pass context, maxReconnectInterval, delayFunc and birpcClient to rpcclient
constructors.

Remove redundant time.Duration conversions (e.g. time.Duration(1*time.Second)
now becomes time.Second.

Add context where needed (context.Background() for tests, context.TODO()
for places where it should be passed from somewhere else).

Implement that functionality of the SessionSv1.Sleep call, in sessions/sessions
instead of apier/v1.

Make changes in utils/server.go (replacing the old rpc2 library with github.com/cgrates/birpc).

Change the way we register birpc methods for sessions in services, using a helper function
defined in engine/libengine.go.
2023-05-03 10:02:15 +02:00
andronache
07111d1e4d Replacing replicate in datamanager 2021-07-13 19:14:30 +02:00
ionutboangiu
2a00b1cd5e Fix typo (parralel->parallel) v0.10 2021-06-30 20:26:02 +02:00
TeoV
87095fa53b Correct using a connID with two connections one of it *internal 2020-03-01 17:28:31 +01:00
Trial97
92928b7700 Added *parallel connection strategy 2020-01-07 11:12:24 +02:00
adragusin
226618d8b8 updated tests in utils 2020-01-06 17:56:13 +02:00
Trial97
5ec7c6ec1f Updated gob integration tests 2019-12-17 11:43:44 +02:00
Trial97
1a5c4a4dd2 Updated ConnManager.Call 2019-12-13 16:48:02 +02:00
TeoV
bb2845ebda Implement the failover mechanish to ConnManager 2019-12-12 13:26:00 +02:00
TeoV
2ee574002a Add support for BiRPC in ConnManager 2019-12-12 08:54:42 +02:00
TeoV
76ca5b9d68 Update after rebase 2019-12-12 08:53:55 +02:00
Trial97
b4fe82c6d7 Updated rpcclient library 2019-12-09 18:04:26 +02:00
TeoV
2b1fc15e96 Remove debug logs 2019-12-03 09:37:09 -05:00
TeoV
522cf0ac78 Handle error better in Call from ConnManager 2019-12-03 09:10:43 -05:00
TeoV
63e6e42847 Remove logs from debugging 2019-12-03 07:18:08 -05:00
TeoV
ac8f9f4399 Add a PoC for ConnManager with EventReader 2019-12-03 06:44:36 -05:00