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

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

  •  
  •   iam · Apr 1, 2024 · 2331 views
    This topic created in 913 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   ·   Privacy   ·   Solana   ·   2159 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 18ms · UTC 00:54 · PVG 08:54 · LAX 17:54 · JFK 20:54
    ♥ Do have faith in what you're doing.