mirror of
https://github.com/paymog/slack-cli.git
synced 2026-09-18 23:43:49 +08:00
Fixed #110. Removed chans variable override lead to memory override during channels fetch on pagination after optimizations done in previos PR #107
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
.env
|
||||
.users_cache.json
|
||||
.channels_cache.json
|
||||
.channels_cache_v2.json
|
||||
/extension.dxt/server/slack-mcp-server-*
|
||||
/extension.dxt/server/index.js
|
||||
/build/slack-mcp-server-*
|
||||
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Connect to Docker",
|
||||
"type": "go",
|
||||
"request": "attach",
|
||||
"mode": "remote",
|
||||
"remotePath": "/app",
|
||||
"port": 40000,
|
||||
"host": "127.0.0.1",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"trace": "verbose"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -580,7 +580,6 @@ func (ap *ApiProvider) GetChannelsType(ctx context.Context, channelType string)
|
||||
break
|
||||
}
|
||||
|
||||
chans = make([]Channel, 0, len(channels))
|
||||
for _, channel := range channels {
|
||||
ch := mapChannel(
|
||||
channel.ID,
|
||||
|
||||
Reference in New Issue
Block a user