Duration of buffered RPCs

Options
Hi,

When using buffered RPCs, e.g. PhotonTargets.AllBuffered, how long will the RPC 'history' be remembered? Will all buffered RPCs be remembered for the whole lifetime of the room? Or are they expired after some time?

Thanks,

S

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @sosh,

    Buffered RPCs are cached events that stay in the room until:
    - explicitly removed.
    - if the cached events are not "global", sending actor is removed and room is configured to clean up his events.
    - room is closed/destroyed and state is not saved. (or "remembered for the whole lifetime of the room")

    Please take a look at the "Cached Events" doc for more info.
  • sosh
    Options
    Hi,

    Thank you!

    How would I configure this:

    > room is configured to clean up his events

    Regards