any inherit incompatibility between Workers Rate Limiting e.g. `ratelimit` and a workflow worker? `

any inherit incompatibility between Workers Rate Limiting e.g. ratelimit and a workflow worker?

[[unsafe.bindings]]
name = "RATE_LIMIT_MEASUREMENT_GUEST"
type = "ratelimit"
namespace_id = "1000"
simple = { limit = 3, period = 60 }


export default class WorkflowsService extends WorkerEntrypoint<CloudflareEnv> {
  // ...
  async createWorkflow(payload: Params) {
    // check if the user has exceeded the limit
    const RATE_LIMITER = this.env.RATE_LIMIT_MEASUREMENT_GUEST;
    const { success } = await RATE_LIMITER.limit({
      key: payload.userIdOrIpAddress,
    });
    // success locally works as expected but on production I can x3/x4 the limit and still success=true (all sending the exact same 
    
Was this page helpful?