Skip to content

Commit

Permalink
record object sizes as long (fixes #336)
Browse files Browse the repository at this point in the history
  • Loading branch information
mschubert committed Jan 10, 2025
1 parent 014d8ff commit 6a5ec42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# git head

* Large common data size is now reported correctly (#336)
* Common data will no longer be duplicated when sending to workers

# clustermq 0.9.5
Expand Down
2 changes: 1 addition & 1 deletion src/CMQMaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class CMQMaster {
Rcpp::DataFrame list_env() const {
std::vector<std::string> names;
names.reserve(env.size());
std::vector<int> sizes;
std::vector<long> sizes;
sizes.reserve(env.size());
for (const auto &kv: env) {
names.push_back(kv.first);
Expand Down

0 comments on commit 6a5ec42

Please sign in to comment.