Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion 2 Common/Utils/include/CommonUtils/ShmManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace utils
{

// the size dedicated to each attached worker/process
constexpr size_t SHMPOOLSIZE = 1024 * 1024 * 200; // 200MB
constexpr size_t SHMPOOLSIZE = 1024 * 1024 * 1024; // 1 GB

// some meta info stored at the beginning of the global shared mem segment
struct ShmMetaInfo {
Expand Down
6 changes: 3 additions & 3 deletions 6 run/O2SimDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class O2SimDevice : public FairMQDevice
std::unique_ptr<FairMQMessage> reply(channel.NewMessage());

int timeoutinMS = 100000; // wait for 100s max
if (channel.Send(request, timeoutinMS) >= 0) {
if (channel.Send(request, timeoutinMS) > 0) {
LOG(INFO) << "Waiting for configuration answer ";
if (channel.Receive(reply, timeoutinMS) > 0) {
LOG(INFO) << "Configuration answer received, containing " << reply->GetSize() << " bytes ";
Expand Down Expand Up @@ -156,8 +156,8 @@ class O2SimDevice : public FairMQDevice
mVMCApp->setSimDataChannel(&dataoutchannel);

LOG(INFO) << "Requesting work ";
int timeoutinMS = 10000; // wait for 10s max -- we should have a more robust solution
if (requestchannel.Send(request, timeoutinMS) >= 0) {
int timeoutinMS = 100000; // wait for 100s max -- we should have a more robust solution
if (requestchannel.Send(request, timeoutinMS) > 0) {
LOG(INFO) << "Waiting for answer ";
// asking for primary generation

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.