Skip to content

Conversation

@ZahidZafar
Copy link
Contributor

No description provided.

Copy link
Member

@ArtursKadikis ArtursKadikis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mutex changes should be in a separate PR.

"request builder" functionality should be integrated into "request module"

Copy link
Member

@ArtursKadikis ArtursKadikis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix "debugReturnStateOfRQ".

RequestModule::~RequestModule() { impl.reset(); }

void RequestModule::addRequestToQueue(const std::map<std::string, std::string> &data) {
if (impl->_configuration->requestQueueThreshold == impl->request_queue.size()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be ">="

* It is currently added as a temporary workaround.
*/
inline void processRQDebug() { processRequestQueue(); }
inline void processRQDebug() { requestModule->processQueue(mutex); }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be null

inline void processRQDebug() { requestModule->processQueue(mutex); }

inline void clearRequestQueue() { request_queue.clear(); }
inline void clearRequestQueue() { requestModule->clearRequestQueue(); }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be null

#include "countly/logger_module.hpp"
#include "countly/request_builder.hpp"

#ifdef _WIN32
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this to the same place as other defs

…into sdk-927

# Conflicts:
#	include/countly.hpp
#	src/countly.cpp
@ArtursKadikis ArtursKadikis merged commit 465dae5 into staging Sep 20, 2022
@ArtursKadikis ArtursKadikis deleted the sdk-927 branch September 20, 2022 10:20
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.

3 participants