flok 0.0.48 → 0.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34017063eb6a9e0ec5c835b31f20820df152548a
4
- data.tar.gz: d7752b56cb6586b4a4baf5888fcfa2d6a860057b
3
+ metadata.gz: f486d3419846f3d0af524964cee91cc4e3bd80d2
4
+ data.tar.gz: bba0b0927c0bbd72fe59de815b44980ff055dc7c
5
5
  SHA512:
6
- metadata.gz: b9863c2d44654803d8bca864379b186592672e58c26b686425420a02e4fa0391779ee6358d58fe19ac271ffa0aa84b0c741c41d57da1f721f538acd838de2cc2
7
- data.tar.gz: 5a9d6c902aa19887b2b70ce2f7df69e26a6364a85e6a60c55b073c2270d420c5d8fcd5a454af1567b0d14d1d522d55be6fb2e31a3d3697b9198caa081af3f3a7
6
+ metadata.gz: a2301f190c2e91ab267d1dcd11397b30855135336aaf7ebda5df508a5110e5fc7ae7593526426296111466893c804ebca63c505c3d8ae5c302e52623c3fe1fd0
7
+ data.tar.gz: a6cdd54faf1f6315e2f7ac7bba3084e7b73f2291364e77dc0a7cd7e567288aba581edcb9aa6588828f5ba300df92891e162c367c10c416bc07290fe418d6947b
@@ -15,6 +15,8 @@ service :vm do
15
15
 
16
16
  vm_bp_to_nmap = {};
17
17
 
18
+ read_sync_in_progress = false;
19
+
18
20
  //Notification listeners, converts ns+key to an array of base pointers
19
21
  vm_notify_map = {
20
22
  <% @options[:pagers].each do |p| %>
@@ -82,10 +84,10 @@ service :vm do
82
84
  //res is page
83
85
  function int_per_get_res(s, ns, res) {
84
86
  //Controller made a read_sync request, fulfull it
85
- if (read_sync_in_progress !== undefined) {
87
+ if (read_sync_in_progress !== false) {
86
88
 
87
89
  int_event(read_sync_in_progress, "read_sync_res", {page: res, ns: ns});
88
- read_sync_in_progress = undefined;
90
+ read_sync_in_progress = false;
89
91
  }
90
92
 
91
93
  //If the key didn't exist, ignore it
@@ -1,3 +1,3 @@
1
1
  module Flok
2
- VERSION = "0.0.48"
2
+ VERSION = "0.0.49"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.48
4
+ version: 0.0.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - seo