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

prepare 6.0.0 release #83

Merged
merged 61 commits into from
May 11, 2018
Merged
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
c5c0b81
change EventSerializer to UserFilter since we'll be scrubbing events …
eli-darkly Mar 20, 2018
b9d73a1
preserve flag eval variation index for events
eli-darkly Mar 20, 2018
3543019
set variation to None when value is default
eli-darkly Mar 20, 2018
3c8e353
copy new flag properties into event
eli-darkly Mar 20, 2018
ae65f95
add new config properties
eli-darkly Mar 20, 2018
2870207
implement event summarizer
eli-darkly Mar 20, 2018
ab48ef8
add pylru dependency
eli-darkly Mar 20, 2018
57f5511
rename EventConsumer to EventProcessor; don't expose its internal que…
eli-darkly Mar 21, 2018
2e9ef50
don't need to create a FeatureRequestor if we're using a custom updat…
eli-darkly Mar 21, 2018
d32adaa
implement summary events in DefaultEventProcessor
eli-darkly Mar 22, 2018
ca7baf6
rm debugging
eli-darkly Mar 22, 2018
e0ff329
add flush_interval to Config, remove obsolete property
eli-darkly Mar 22, 2018
3708ef2
consumer->processor
eli-darkly Mar 22, 2018
3b07e87
consumer->processor
eli-darkly Mar 22, 2018
2231978
use timer thread objects to avoid race condition
eli-darkly Mar 23, 2018
971d7fe
rm spurious underscore
eli-darkly Mar 24, 2018
8a45a53
use namedtuple
eli-darkly Mar 24, 2018
d0284ed
make timer threads daemons
eli-darkly Mar 24, 2018
9b3632f
break up DefaultEventProcessor a bit and don't inherit from Thread
eli-darkly Mar 24, 2018
c73e0b9
break out the output event generation logic
eli-darkly Mar 24, 2018
5a32403
break up the event processor code some more
eli-darkly Mar 24, 2018
3b1b159
fix user filtering for index event
eli-darkly Mar 24, 2018
a745739
fix creation date in custom event
eli-darkly Mar 24, 2018
a67c7b3
don't create a task object unless we're actually going to send some e…
eli-darkly Mar 26, 2018
bd147c3
misc fixes
eli-darkly Mar 26, 2018
e8b2998
don't use stop() internally; make it safe to call stop() more than once
eli-darkly Mar 26, 2018
4a53a0c
break out user deduplicator into a separate class
eli-darkly Mar 26, 2018
00ef4e2
Merge branch 'summary-events' into eb/ch12903/summary-events
eli-darkly Mar 27, 2018
6108512
remove Python 2.6 support
eli-darkly Mar 29, 2018
279ae64
Merge branch 'summary-events' into eb/ch12903/summary-events
eli-darkly Mar 29, 2018
1fec687
Merge branch 'summary-events' into eb/ch12903/summary-events
eli-darkly Mar 30, 2018
d556e2d
Merge branch 'master' into eb/ch15531/drop-python-2.6
eli-darkly Mar 30, 2018
d5d0a38
fix setup.py
eli-darkly Mar 30, 2018
5a31bd8
misc fixes
eli-darkly Apr 4, 2018
43784e0
make flushes async, but ensure everything's been sent when shutting down
eli-darkly Apr 4, 2018
06cc4a1
put limit on concurrent flush tasks; put user dedup logic back into E…
eli-darkly Apr 4, 2018
1702241
don't need to keep reference to dispatcher
eli-darkly Apr 4, 2018
3b32885
fix time calculation
eli-darkly Apr 4, 2018
3f62e01
flush threads should be daemons
eli-darkly Apr 4, 2018
072f6cb
add thread pool class + misc fixes
eli-darkly Apr 4, 2018
710e1fb
fix overly broad exception catching
eli-darkly Apr 4, 2018
dc201e6
debugging
eli-darkly Apr 4, 2018
b4372d3
debugging
eli-darkly Apr 4, 2018
72112ec
tolerate being closed more than once
eli-darkly Apr 4, 2018
4397b2b
don't close session unless we created it
eli-darkly Apr 4, 2018
e3c1189
Merge pull request #40 from launchdarkly/eb/ch12903/summary-events
eli-darkly Apr 4, 2018
108bf10
Merge pull request #47 from launchdarkly/eb/ch15531/drop-python-2.6
eli-darkly Apr 6, 2018
821f4db
fix behavior of debug & index events
eli-darkly Apr 9, 2018
00fd2ef
try to clarify flow in _process_event
eli-darkly Apr 11, 2018
08b57eb
Merge pull request #48 from launchdarkly/eb/summary-events-debug-index
eli-darkly Apr 11, 2018
83f2a03
set schema header in event payload
eli-darkly Apr 18, 2018
d9277dd
Merge branch 'master' into summary-events
eli-darkly Apr 18, 2018
4ce4e37
Merge branch 'summary-events' into eb/event-schema
eli-darkly Apr 18, 2018
836bbe0
Merge pull request #50 from launchdarkly/eb/event-schema
eli-darkly Apr 19, 2018
91bc3d8
fix all_flags method + more unit tests
eli-darkly Apr 23, 2018
60d5d42
re-add redundant key property in identify event
eli-darkly Apr 23, 2018
d102924
Merge pull request #51 from launchdarkly/eb/fix-identify-event
eli-darkly Apr 23, 2018
1243778
send as much of a feature event as possible even if user is invalid
eli-darkly Apr 25, 2018
90f3bf6
Merge pull request #52 from launchdarkly/eb/events-for-bad-users
eli-darkly Apr 25, 2018
49e4a80
include variation index in events and bump schema version to 3
eli-darkly Apr 30, 2018
d671deb
Merge pull request #53 from launchdarkly/eb/var-index-and-schema-version
eli-darkly Apr 30, 2018
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
eli-darkly committed Mar 22, 2018
commit ca7baf6dcb5d606e5f2d303a820a5d48c70d5901
2 changes: 0 additions & 2 deletions ldclient/event_processor.py
Original file line number Diff line number Diff line change
@@ -66,12 +66,10 @@ def run(self):
while self._running:
try:
self._process_next()
log.error("*** processed ***")
except Exception:
log.error('Unhandled exception in event consumer', exc_info=True)

def stop(self):
log.error("*** GOT STOP ***")
self.flush()
self._session.close()
self._running = False