Skip to content

Spark.function() args > 63 chars knocks Core offline briefly #30

@technobly

Description

@technobly

Tried with 0.3.4 and the latest and greatest HAL firmware and the Core is doing the same thing, dropping off the cloud for a good 1 second count if I throw more than 63 chars at the API for Spark.function()

@dmiddlecamp has confirmed no hard limit for this one in the API, so it sounds like the limit must be causing this response at the firmware level.

It seems like a hard coded limit in the API would be good:

Pros:

  • saves BW
  • can return a lovely error message "stahp sending me more than 63 chars!"

Cons:

  • if different devices have different limits, more CPU usage on server
  • ?

I also think the firmware should have a hard coded limit that keeps it operating sanely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions