-
Notifications
You must be signed in to change notification settings - Fork 12
Rework find-peers #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
n-mattos
commented
Sep 15, 2025
- Switched database from JSON to SQLite
- Implemented filters in intra synchronization
- Replaced 42connector with Fast42
… token for authentication
…. The functions are now also part of the DatabaseService class
…sert/query functions
…encies before fetching the next page
…only display projects that are present on the given campus
…nctions into sync.ts
…it doesnt show hoursAgo anymore
src/wrapper.ts
Outdated
let i = 0; | ||
const pageItems = await Promise.all(pages.map(async (page) => { | ||
let p = null; | ||
pageFetch: while (!p) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh no, I thought that we did not allow gotos
I think you should try to write this function without this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
…y cursus 21 and 9 are synced, instead of every cursus
…er every synchronization