Skip to content
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

Cache results from getUsernameHistory #852

Merged
merged 7 commits into from
Feb 13, 2025

Conversation

Regalijan
Copy link
Member

Easiest way to test (requires computer that isn't garbage, and don't let it run too long)

const noblox = require("noblox.js");

(async function () {
  while (true) {
    console.log(await noblox.getUsernameHistory(53264334));
  }
})();

Right now it's set to a day (for the combined user id, sort order, limit, and cursor) but I am open to changing it.

@Regalijan Regalijan requested a review from Neztore December 17, 2024 19:41
@Regalijan Regalijan requested a review from alanbixby January 21, 2025 14:14
@alanbixby alanbixby merged commit 482dda1 into noblox:master Feb 13, 2025
2 checks passed
@Regalijan Regalijan deleted the cache-getusernamehistory branch February 13, 2025 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants