@oneuptime/common 8.0.5174 → 8.0.5177
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -777,13 +777,13 @@ export default class SlackUtil extends WorkspaceBase {
|
|
|
777
777
|
}
|
|
778
778
|
|
|
779
779
|
let cursor: string | undefined = undefined;
|
|
780
|
-
const maxPages: number =
|
|
780
|
+
const maxPages: number = 500;
|
|
781
781
|
let pageCount: number = 0;
|
|
782
782
|
const localChannelCache: Dictionary<any> = {};
|
|
783
783
|
|
|
784
784
|
do {
|
|
785
785
|
const requestBody: JSONObject = {
|
|
786
|
-
limit:
|
|
786
|
+
limit: 999, // Use smaller limit for faster searches
|
|
787
787
|
types: "public_channel,private_channel",
|
|
788
788
|
exclude_archived: true,
|
|
789
789
|
};
|
|
@@ -519,12 +519,12 @@ export default class SlackUtil extends WorkspaceBase {
|
|
|
519
519
|
logger.error(error);
|
|
520
520
|
}
|
|
521
521
|
let cursor = undefined;
|
|
522
|
-
const maxPages =
|
|
522
|
+
const maxPages = 500;
|
|
523
523
|
let pageCount = 0;
|
|
524
524
|
const localChannelCache = {};
|
|
525
525
|
do {
|
|
526
526
|
const requestBody = {
|
|
527
|
-
limit:
|
|
527
|
+
limit: 999, // Use smaller limit for faster searches
|
|
528
528
|
types: "public_channel,private_channel",
|
|
529
529
|
exclude_archived: true,
|
|
530
530
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneuptime/common",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.5177",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@types/web-push": "^3.6.4",
|
|
78
78
|
"acme-client": "^5.3.0",
|
|
79
79
|
"airtable": "^0.12.2",
|
|
80
|
-
"axios": "^1.
|
|
80
|
+
"axios": "^1.12.0",
|
|
81
81
|
"bullmq": "^5.3.3",
|
|
82
82
|
"cookie-parser": "^1.4.7",
|
|
83
83
|
"cors": "^2.8.5",
|