Skip to content

[FS] Frame not being read correctly #170

Closed
@jenkoian

Description

@jenkoian

Not sure if this is a bug or if I've done something not quite right, but I get the following error when certain messages are attempted to be consumed:

[LogicException]
  Cannot decode json message 'JSON HERE'

Digging into it, the frames seem to be getting split between a | and a { meaning the following isn't getting hit and thus the message isn't read from the file correctly.

https://github.com/php-enqueue/enqueue-dev/blob/master/pkg/fs/FsConsumer.php#L172

Is there a reason 64 was chosen? Was it just a random number and I've been desperately unlucky?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions