Skip to content

Scheduled jobs support#537

Draft
nyet-ty wants to merge 1 commit into
mainfrom
issues/483
Draft

Scheduled jobs support#537
nyet-ty wants to merge 1 commit into
mainfrom
issues/483

Conversation

@nyet-ty

@nyet-ty nyet-ty commented Feb 5, 2024

Copy link
Copy Markdown
Collaborator

Resole taskany-inc/crew#895

PR includes

  • Feature

Comment thread src/components/OfflineBanner/OfflineBanner.tsx Outdated
Comment thread src/pages/404.tsx Outdated
Comment thread src/utils/worker/create.ts Outdated
import { prisma } from '../prisma';
import { MessageBody } from '../../modules/nodemailer';

export const defaultJobDelay = process.env.WORKER_JOBS_DELAY ? parseInt(process.env.WORKER_JOBS_DELAY, 10) : 1000;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be in config

Comment thread src/utils/worker/index.ts
import * as resolve from './resolve';
import { getNextJob, jobDelete, jobUpdate } from './jobOperations';

const queueInterval = config.worker.queueInterval ? parseInt(config.worker.queueInterval, 10) : 3000;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be parsed in config

@nyet-ty nyet-ty marked this pull request as draft February 9, 2024 16:17
@9teen90nine 9teen90nine removed their request for review May 8, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants