sdk
sdk copied to clipboard
begin: update eventFactory context based on the initial one
Signed-off-by: Artem Glazychev [email protected]
Description
In the current implementation, we update the eventFactory
context after a successful request.
This is not quite right, because in addition to updating the context values, we also update the request timeout. It is calculated on the wayback.
For example, the request came with a timeout of 15s and took 5s. For the event factory, we calculate 10s, but we need 15s.
Issue link
How Has This Been Tested?
- [x] Added unit testing to cover
- [ ] Tested manually
- [ ] Tested by integration testing
- [ ] Have not tested
Types of changes
- [x] Bug fix
- [ ] New functionallity
- [ ] Documentation
- [ ] Refactoring
- [ ] CI