Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial implementation based on SSE client from Python SDK #1

Merged
merged 26 commits into from
Dec 29, 2022
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
615539d
initial implementation based on SSE client from Python SDK
eli-darkly Dec 30, 2021
aaca796
makefile fixes
eli-darkly Dec 30, 2021
e2e87cd
rm debugging
eli-darkly Dec 30, 2021
e41d913
major refactoring & cleanup, better encapsulation of retry logic
eli-darkly Jan 14, 2022
2b89408
misc fixes
eli-darkly Jan 14, 2022
c9b558f
move private methods to end
eli-darkly Jan 14, 2022
d06808b
remove restart method which can't work as currently implemented
eli-darkly Jan 19, 2022
740389f
fix types
eli-darkly Jan 19, 2022
718e334
update test deps
eli-darkly Jan 19, 2022
638c8d2
comments
eli-darkly Jan 19, 2022
4393d75
redefine jitter to be additive
eli-darkly Jan 19, 2022
25b5c27
also ensure backoff is additive
eli-darkly Jan 19, 2022
3c2d311
default jitter should be 100% since it is now additive
eli-darkly Jan 19, 2022
675a1ad
rm unused
eli-darkly Jan 19, 2022
b9b7c02
only close the pool if we created it, not the opposite
eli-darkly Jan 19, 2022
50cc1f9
Apply suggestions from code review
eli-darkly Jan 19, 2022
5b73f76
fix shutdown of pool
eli-darkly Jan 19, 2022
ab43395
Merge branch 'eb/sc-133323/initial' of github.com:launchdarkly/python…
eli-darkly Jan 19, 2022
ad49637
add missing annotation
eli-darkly Jan 19, 2022
d24f44b
specify module names
eli-darkly Jan 19, 2022
3858bd4
drop Python 3.6
eli-darkly Dec 29, 2022
050f566
lint
eli-darkly Dec 29, 2022
b8c6a8b
lint
eli-darkly Dec 29, 2022
9b3769c
lint
eli-darkly Dec 29, 2022
4f6a133
lint
eli-darkly Dec 29, 2022
9f4c6af
better lint command
eli-darkly Dec 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rm debugging
  • Loading branch information
eli-darkly committed Dec 30, 2021
commit e2e87cd6cc84248d1155f366a3fa927feee03a78
1 change: 0 additions & 1 deletion ld_eventsource/sse_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ def close(self):

def restart(self):
if self._response:
print("*** restarting!")
self._restarting = True # this lets us avoid logging a spurious error when we've deliberately closed the connection
self._response.release_conn()

Expand Down