Skip to content

Commit

Permalink
pullAll doesn't modify source array
Browse files Browse the repository at this point in the history
  • Loading branch information
f-w committed Dec 13, 2023
1 parent e46687f commit f26e6b7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 19 deletions.
Binary file modified .github/values.ocp4.dev.yaml.gpg
Binary file not shown.
1 change: 1 addition & 0 deletions .github/workflows/buildTestPublishContainerDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- pullAll
release:
types:
- published
Expand Down
4 changes: 2 additions & 2 deletions src/api/notifications/notifications.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,11 +460,11 @@ export class NotificationsController extends BaseController {
this.appConfig.email?.listUnsubscribeByEmail?.enabled;

async broadcastToSubscriberChunk(data, startIdx) {
const subChunk = (data.dispatch.candidates as string[]).slice(
let subChunk = (data.dispatch.candidates as string[]).slice(
startIdx,
startIdx + this.broadcastSubscriberChunkSize,
);
pullAll(
subChunk = pullAll(
pullAll(
pullAll(
subChunk,
Expand Down
17 changes: 0 additions & 17 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,6 @@ const config: Record<string, any> = {
host: '0.0.0.0',
// port listen on
port: 3000,
remoting: {
rest: {
normalizeHttpPath: false,
xml: false,
handleErrors: false,
},
json: {
strict: false,
limit: '100kb',
},
urlencoded: {
extended: true,
limit: '100kb',
},
cors: false,
},
legacyExplorer: false,
adminIps: ['127.0.0.1'],
siteMinderReverseProxyIps: ['127.0.0.1'],
email: {
Expand Down

0 comments on commit f26e6b7

Please sign in to comment.