Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
iam
V2EX  ›  云计算

腾讯云函数多个定时触发器 bug

  •  
  •   iam · Apr 1, 2024 · 1868 views
    This topic created in 791 days ago, the information mentioned may be changed or developed.

    在腾讯云函数中,定时触发器限制同名触发器只能存在一个。 但是在控制台或者 yaml 设置名称后,下载云函数并不会保存 name ,再次上传就会报错:触发器已存在。所以,如果是重新下载的云函数,上传时需要手动更改 serverless.yaml 。 在每个 inputs -> events -> timer-> parameters 下增加 name: xxx ,这里不重名的话就可以正常创建多个定时触发器

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1215 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 17:31 · PVG 01:31 · LAX 10:31 · JFK 13:31
    ♥ Do have faith in what you're doing.