Skip to content

Commit

Permalink
fix: interval for ubuntu sync job set from 15m > 2m
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Jul 5, 2024
1 parent 8da3a49 commit 8b6a847
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/controllers/web/my-account/validate-alias.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ function validateAlias(ctx, next) {
if (member.group === 'user' && body.has_imap)
return ctx.throw(Boom.notFound(ctx.translateError('UBUNTU_PERMISSIONS')));

/*
if (
_.isArray(body.recipients) &&
body.recipients.some(
Expand All @@ -129,6 +130,7 @@ function validateAlias(ctx, next) {
return ctx.throw(
Boom.notFound(ctx.translateError('UBUNTU_NOT_ALLOWED_EMAIL'))
);
*/
}

ctx.state.body = body;
Expand Down
2 changes: 1 addition & 1 deletion jobs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ if (process.env.NODE_ENV === 'production') {
},
{
name: 'ubuntu-sync-memberships',
interval: '15m',
interval: '2m',
timeout: 0
}
);
Expand Down

0 comments on commit 8b6a847

Please sign in to comment.