Skip to content

Commit

Permalink
Merge branch 'main' into servicedir-default
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrazasp authored Jun 14, 2024
2 parents 20f5bd3 + 4f3f9f2 commit a930def
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion services/datagov.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export enum DATAGOV_APPS {
crons: [
{
name: 'infostatyba',
cronTime: '0 3 * * *',
cronTime: '0 7 * * *',
timeZone: 'Europe/Vilnius',

async onTick() {
Expand Down
2 changes: 1 addition & 1 deletion services/integrations.fishStockings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ interface FishStocking {
crons: [
{
name: 'integrationsFishStockings',
cronTime: '0 12 * * *',
cronTime: '0 3 * * *',
timeZone: 'Europe/Vilnius',
async onTick() {
await this.call('integrations.fishStockings.getData', {
Expand Down
2 changes: 1 addition & 1 deletion services/integrations.lumbering.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { Event, toEventBodyMarkdown } from './events.service';
crons: [
{
name: 'integrationsLumbering',
cronTime: '0 12 * * *',
cronTime: '0 4 * * *',
timeZone: 'Europe/Vilnius',
async onTick() {
await this.call('integrations.lumbering.getData', {
Expand Down
1 change: 1 addition & 0 deletions services/subscriptions.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ export default class SubscriptionsService extends moleculer.Service {
id: ['number|convert', { type: 'array', items: 'number|convert' }],
mapping: 'boolean|optional',
},
timeout: 0,
})
async getEventsCount(ctx: Context<{ id: number | number[]; mapping?: boolean }>) {
const { id, mapping } = ctx.params;
Expand Down

0 comments on commit a930def

Please sign in to comment.