Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

PLAT-11060: Reauthenticate DF loop#103

Merged
symphony-youri merged 2 commits into
masterfrom
PLAT-11060-reauthenticate-df-loop
Jun 24, 2021
Merged

PLAT-11060: Reauthenticate DF loop#103
symphony-youri merged 2 commits into
masterfrom
PLAT-11060-reauthenticate-df-loop

Conversation

@symphony-youri

Copy link
Copy Markdown
Contributor

Ticket

PLAT-11060

Description

PLAT-11060: Reauthenticate inside datafeed loop

If the session expires in the datafeed loop, authentication is going to
be attempted again.

This is only applied to the DF loop, not globally (this is not actively
maintained, doing it globally would require more work). This way the DF
loop should not exit once the session expires.

In case the bot account has been disabled it will keep retrying forever
(again better handling it requires much more work because the authenticate()
part is not propagating errors). Ideally exponential backoff should be
implemented.

Dependencies

N/A

Checklist

  • Referenced a ticket in the PR title and in the corresponding section
  • Filled properly the description and dependencies, if any
  • Unit tests updated or added
  • Public functions properly commented

If the session expires in the datafeed loop, authentication is going to
be attempted again.

This is only applied to the DF loop, not globally (this is not actively
maintained, doing it globally would require more work). This way the DF
loop should not exit once the session expires.

In case the bot account has been disabled it will keep retrying forever
(again better handling it requires much more work because the authenticate()
part is not propagating errors). Ideally exponential backoff should be
implemented.
@symphony-youri symphony-youri requested review from a team, symphony-elias and thibauult June 24, 2021 09:54
@symphony-youri

Copy link
Copy Markdown
Contributor Author

The package-json update should with the sec vulnerabilities spotted by Github

@symphony-youri symphony-youri merged commit e7645a1 into master Jun 24, 2021
@symphony-youri symphony-youri deleted the PLAT-11060-reauthenticate-df-loop branch June 24, 2021 13:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants