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

Fix semaphore issues #91

Merged
merged 7 commits into from
May 18, 2017
Merged

Fix semaphore issues #91

merged 7 commits into from
May 18, 2017

Conversation

arun251
Copy link

@arun251 arun251 commented May 18, 2017

This PR intends to fix the semaphore bug which was resulting in multiple api calls being generated simultaneously after the time specified in kConnectionTimeout.

arun251 and others added 7 commits April 17, 2017 12:52
* Fix RequestManager mock in LDPollingManagerTest

* Update schemes

* Update to 2.2.1

* Update XCode version

* Remove use of shared instance

* Fix for deletion array count

* Update to version 2.3.0

* Revert test changes

* Revert "Revert test changes"

* Update README markdown

* Add Platform to README

* Update Readme to reflect carthage
* Remove pollingCount

* Introduce semaphores to make synchronous api calls

* Remove race condition for creationDate
@arun251
Copy link
Author

arun251 commented May 18, 2017

👍

@arun251 arun251 merged commit c11b215 into master May 18, 2017
@arun251 arun251 deleted the dz/fixSemaphore branch May 18, 2017 01:14
markpokornycos added a commit that referenced this pull request Aug 15, 2018
* adds summary event tests with empty and nil tracker

* synchronize tracker access

* adds guard for nil flagKey to initSummaryEvent

* adds nil summary event guard to DataManager createSummaryEvent

* adds guard for empty flagKey to FlagConfigTracker

* removes unused defaultValue from FlagCounter logRequest

* adds guard for nil reported value in FlagCounter’s logRequest

* adds nil reportedValue handling to LDFlagValueCounter

* advance version documents

* removes access to LDFlagConfigTracker flagCounters

Too much chance to misuse it

* removes flagCounters from public access

* move selected items outside of synchronized blocks
torchhound pushed a commit that referenced this pull request May 27, 2020
Fix FlagStore to synchronize reads with writes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants