Subs union only in master
This commit is contained in:
parent
0f0983bcf5
commit
22534ddb7e
1 changed files with 5 additions and 0 deletions
|
|
@ -6,10 +6,15 @@ import SiteSettings from '/imports/api/SiteSettings/SiteSettings';
|
||||||
import Perlin from 'loms.perlin';
|
import Perlin from 'loms.perlin';
|
||||||
import L from 'leaflet-headless';
|
import L from 'leaflet-headless';
|
||||||
import calcUnion from '/imports/ui/components/Maps/SubsUnion/Unify';
|
import calcUnion from '/imports/ui/components/Maps/SubsUnion/Unify';
|
||||||
|
import { isMailServerMaster } from '/imports/startup/server/email';
|
||||||
|
|
||||||
// sudo apt-get install libcairo2-dev libjpeg-dev libgif-dev
|
// sudo apt-get install libcairo2-dev libjpeg-dev libgif-dev
|
||||||
|
|
||||||
Meteor.startup(() => {
|
Meteor.startup(() => {
|
||||||
|
if (!isMailServerMaster) {
|
||||||
|
console.log('We only process subsUnion in master');
|
||||||
|
return;
|
||||||
|
}
|
||||||
const debug = true; // Meteor.isDevelopment;
|
const debug = true; // Meteor.isDevelopment;
|
||||||
Perlin.seed(Math.random());
|
Perlin.seed(Math.random());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue