Commit 8198279e authored by Reza Sahebgharan's avatar Reza Sahebgharan

fix(update meteor and mongo delay): update meteor to 1.9rc1 and change mongo oplogtime

parent 2d621bba
Pipeline #813 passed with stages
in 4 minutes and 31 seconds
...@@ -16,3 +16,4 @@ notices-for-facebook-graph-api-2 ...@@ -16,3 +16,4 @@ notices-for-facebook-graph-api-2
1.4.3-split-account-service-packages 1.4.3-split-account-service-packages
1.5-add-dynamic-import-package 1.5-add-dynamic-import-package
1.7-split-underscore-from-meteor-base 1.7-split-underscore-from-meteor-base
1.8.3-split-jquery-from-blaze
...@@ -6,14 +6,13 @@ ...@@ -6,14 +6,13 @@
meteor-base@1.4.0 # Packages every Meteor app needs to have meteor-base@1.4.0 # Packages every Meteor app needs to have
mobile-experience@1.0.5 # Packages for a great mobile UX mobile-experience@1.0.5 # Packages for a great mobile UX
mongo@1.8.0-alpha190.9 # The database Meteor supports right now mongo@1.8.0-rc190.1 # The database Meteor supports right now
reactive-var@1.0.11 # Reactive variable for tracker reactive-var@1.0.11 # Reactive variable for tracker
tracker@1.2.0 # Meteor's client-side reactive programming library tracker@1.2.0 # Meteor's client-side reactive programming library
shell-server@0.4.0 # Server-side component of the `meteor shell` command shell-server@0.4.0 # Server-side component of the `meteor shell` command
http http@1.4.2
accounts-password accounts-password@1.5.2
ardatan:webpack ardatan:webpack
ardatan:webpack-dev-middleware ardatan:webpack-dev-middleware
peerlibrary:reactive-publish
METEOR@1.9-alpha.9 METEOR@1.9-rc.1
accounts-base@1.4.4 accounts-base@1.5.0-rc190.1
accounts-password@1.5.1 accounts-password@1.5.2
allow-deny@1.1.0 allow-deny@1.1.0
ardatan:webpack@0.0.13 ardatan:webpack@0.0.13
ardatan:webpack-dev-middleware@0.0.13 ardatan:webpack-dev-middleware@0.0.13
autoupdate@1.6.0 autoupdate@1.6.0
babel-compiler@7.5.0-alpha190.9 babel-compiler@7.5.0-rc190.1
babel-runtime@1.5.0-alpha190.9 babel-runtime@1.5.0-rc190.1
base64@1.0.12 base64@1.0.12
binary-heap@1.0.11 binary-heap@1.0.11
boilerplate-generator@1.6.0 boilerplate-generator@1.6.0
caching-compiler@1.2.1 callback-hook@1.3.0-rc190.1
callback-hook@1.1.0
check@1.3.1 check@1.3.1
coffeescript@2.4.1
coffeescript-compiler@2.4.1
ddp@1.4.0 ddp@1.4.0
ddp-client@2.3.3 ddp-client@2.3.3
ddp-common@1.4.0 ddp-common@1.4.0
...@@ -21,10 +18,10 @@ ddp-rate-limiter@1.0.7 ...@@ -21,10 +18,10 @@ ddp-rate-limiter@1.0.7
ddp-server@2.3.0 ddp-server@2.3.0
diff-sequence@1.1.1 diff-sequence@1.1.1
dynamic-import@0.5.1 dynamic-import@0.5.1
ecmascript@0.14.0-alpha190.9 ecmascript@0.14.0-rc190.1
ecmascript-runtime@0.7.0 ecmascript-runtime@0.7.0
ecmascript-runtime-client@0.10.0-alpha190.9 ecmascript-runtime-client@0.10.0-rc190.1
ecmascript-runtime-server@0.9.0-alpha190.9 ecmascript-runtime-server@0.9.0-rc190.1
ejson@1.1.0 ejson@1.1.0
email@1.2.3 email@1.2.3
es5-shim@4.8.0 es5-shim@4.8.0
...@@ -44,21 +41,15 @@ minimongo@1.4.5 ...@@ -44,21 +41,15 @@ minimongo@1.4.5
mobile-experience@1.0.5 mobile-experience@1.0.5
mobile-status-bar@1.0.14 mobile-status-bar@1.0.14
modern-browsers@0.1.4 modern-browsers@0.1.4
modules@0.15.0-alpha190.9 modules@0.15.0-rc190.1
modules-runtime@0.12.0-alpha190.9 modules-runtime@0.12.0-rc190.1
mongo@1.8.0-alpha190.9 mongo@1.8.0-rc190.1
mongo-decimal@0.1.1 mongo-decimal@0.1.1
mongo-dev-server@1.1.0 mongo-dev-server@1.1.0
mongo-id@1.0.7 mongo-id@1.0.7
npm-bcrypt@0.9.3 npm-bcrypt@0.9.3
npm-mongo@3.3.0-alpha190.9 npm-mongo@3.3.0-rc190.1
ordered-dict@1.1.0 ordered-dict@1.1.0
peerlibrary:assert@0.3.0
peerlibrary:extend-publish@0.6.0
peerlibrary:fiber-utils@0.10.0
peerlibrary:reactive-mongo@0.4.0
peerlibrary:reactive-publish@0.10.0
peerlibrary:server-autorun@0.8.0
promise@0.11.2 promise@0.11.2
random@1.1.0 random@1.1.0
rate-limit@1.0.9 rate-limit@1.0.9
...@@ -74,5 +65,5 @@ srp@1.0.12 ...@@ -74,5 +65,5 @@ srp@1.0.12
tracker@1.2.0 tracker@1.2.0
underscore@1.0.10 underscore@1.0.10
url@1.2.0 url@1.2.0
webapp@1.7.4 webapp@1.8.0-rc190.1
webapp-hashing@1.0.9 webapp-hashing@1.0.9
...@@ -5,5 +5,10 @@ Meteor.publish("brands", function() { ...@@ -5,5 +5,10 @@ Meteor.publish("brands", function() {
if (!this.userId) { if (!this.userId) {
return this.ready(); return this.ready();
} }
return Brands.find({}); return Brands.find({}, {
reactive: true,
disableOplog: false,
pollingThrottleMs: 1000,
pollingIntervalMs: 1000
});
}); });
\ No newline at end of file
...@@ -2,8 +2,22 @@ import Clients from '../../collections/clients.js'; ...@@ -2,8 +2,22 @@ import Clients from '../../collections/clients.js';
import { check } from 'meteor/check'; import { check } from 'meteor/check';
Meteor.publish("clients", function() { Meteor.publish("clients", function() {
if (!this.userId) { debugger;
return this.ready(); // if (!this.userId) {
// return this.ready();
// }
// return Clients.find({});
if (this.userId) {
return Clients.find({}, {
reactive: true,
disableOplog: false,
pollingThrottleMs: 1000,
pollingIntervalMs: 1000
})
} else {
return [];
} }
return Clients.find({});
}); });
\ No newline at end of file
...@@ -5,5 +5,10 @@ Meteor.publish("devicecode", function() { ...@@ -5,5 +5,10 @@ Meteor.publish("devicecode", function() {
if (!this.userId) { if (!this.userId) {
return this.ready(); return this.ready();
} }
return DeviceCode.find({}); return DeviceCode.find({}, {
reactive: true,
disableOplog: false,
pollingThrottleMs: 1000,
pollingIntervalMs: 1000
});
}); });
\ No newline at end of file
...@@ -2,10 +2,14 @@ import DeviceMap from '../../collections/devicemap'; ...@@ -2,10 +2,14 @@ import DeviceMap from '../../collections/devicemap';
import { check } from 'meteor/check'; import { check } from 'meteor/check';
Meteor.publish("devicemaps", function() { Meteor.publish("devicemaps", function() {
this.autorun(function(computation) { debugger;
if (!this.userId) { if (!this.userId) {
return this.ready(); return this.ready();
} }
return DeviceMap.find({}); return DeviceMap.find({}, {
reactive: true,
disableOplog: false,
pollingThrottleMs: 1000,
pollingIntervalMs: 1000
}); });
}); });
\ No newline at end of file
...@@ -5,5 +5,10 @@ Meteor.publish("hislink", function() { ...@@ -5,5 +5,10 @@ Meteor.publish("hislink", function() {
if (!this.userId) { if (!this.userId) {
return this.ready(); return this.ready();
} }
return HisLink.find({}); return HisLink.find({}, {
reactive: true,
disableOplog: false,
pollingThrottleMs: 1000,
pollingIntervalMs: 1000
});
}); });
\ No newline at end of file
{ {
"worklistUrl": "http://192.168.0.66:8086", "worklistUrl": "http://karname-broker.karname.ir",
"databusUrl": "http://localhost:8090" "databusUrl": "http://localhost:8090"
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment