add disable_webhooks option to campaigns API?

未關閉
#146 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python
領域
api

研究方向

找出 campaigns API 的進入點,並檢查其請求選項是如何建立的。檢查相關的 API 文件和測試(如果有),以判斷預期行為;當呼叫方可以要求停用由活動觸發的 Webhook,且不影響一般訊息時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

My company receives and processes getstream webhooks for a variety of reasons, and normally the system works well. However, when we use the campaigns feature to send a message to our entire user base (~100K users), the server that processes webhooks gets hit with a massive traffic spike due to the fact that so many messages are sent within a short period of time. This causes a bunch of load-related problems -- database connection issues, timeouts or rate limit errors on other third-party services, etc.

It would be great if we could disable webhooks for campaigns, possibly by adding a disable_webhooks option to the api call that triggers the campaign.

Thanks much :)

主要語言
Python
星號
73
分支
20
平均合併
11 小時 34 分鐘
30 天內合併 PR
7

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

GetStream/stream-chat-python 的其他 Issue

查看 GetStream/stream-chat-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。