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

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

  •  
  •   iam · Apr 1, 2024 · 1813 views
    This topic created in 775 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   ·   2929 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:13 · PVG 18:13 · LAX 03:13 · JFK 06:13
    ♥ Do have faith in what you're doing.