question

brendan avatar image
brendan asked

Unlimited time to query a segment

Question from a developer:

Currently, the GetPlayersInSegment API call lists the max SecondsToLive as 1800 seconds (30 minutes). Is it possible to raise to that be unlimited?

PlayStream
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Under a custom contract that includes development work dedicated to features you specify, almost anything is technically possible. But in this case, I can't advise it. When you query for the players in a segment, you create a "snapshot" of the segment. The SecondsToLive is the lifetime of that snapshot, so that you can query it over a lengthy period. But the longer that goes, the more inaccurate the snapshot becomes - players may have entered or left the segment since then.

Could you provide more details on the specifics of your scenario? Why exactly would a longer SecondsToLive be valuable in your case?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.