1
0
Fork 1

Refactor querying & improve logging #26

Merged
SomeGuy merged 23 commits from gravel/sessioncommunities.online-archive:querying-refactor into main 3 years ago
gravel commented 3 years ago
Collaborator

This paves the way for room labels derived from more complete data.

This paves the way for room labels derived from more complete data.
Owner

Notes:

  1. $KNOWN_PUBKEYS was intended to be alphabetically sorted

[04:22.671] [d] Server http://session.xanthus.uk[0/2] { pubkey: 9be4... }
[04:22.671] [i] Checking reachability for http://session.xanthus.uk first...
[04:22.671] [d] array (
  0 => 'midnight-madness',
  1 => 'catnamedivan',
)
[04:23.052] [d] Attempt #1 for http://session.xanthus.uk returned code 200.

I assume $this->room_hints should be sorted before further handling?

  1. What about this TODO? https://lokilocker.com/gravel/sessioncommunities.online/src/branch/querying-refactor/php/fetch-servers.php#L98

That those are the only issues I have found shows what outstanding work you did with this refactor, thank you.

Notes: 1) `$KNOWN_PUBKEYS` was intended to be alphabetically sorted 2) ``` [04:22.671] [d] Server http://session.xanthus.uk[0/2] { pubkey: 9be4... } [04:22.671] [i] Checking reachability for http://session.xanthus.uk first... [04:22.671] [d] array ( 0 => 'midnight-madness', 1 => 'catnamedivan', ) [04:23.052] [d] Attempt #1 for http://session.xanthus.uk returned code 200. ``` I assume `$this->room_hints` should be sorted before further handling? 3) What about this TODO? https://lokilocker.com/gravel/sessioncommunities.online/src/branch/querying-refactor/php/fetch-servers.php#L98 That those are the only issues I have found shows what outstanding work you did with this refactor, thank you.
Owner

There's still the issue of the unsorted $this->room_hints, but that's not important in any way or form as far as I can tell.

Looking good otherwise. Consider this merged.

There's still the issue of the unsorted `$this->room_hints`, but that's not important in any way or form as far as I can tell. Looking good otherwise. Consider this merged.
SomeGuy merged commit d9e5ff6560 into main 3 years ago
gravel deleted branch querying-refactor 2 years ago
This repo is archived. You cannot comment on pull requests.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SomeGuy/sessioncommunities.online#26
Loading…
There is no content yet.