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

Update life360_app.groovy #16

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Conversation

imnotbob
Copy link
Contributor

@imnotbob imnotbob commented Sep 6, 2023

Many updates, cleanups

Happy to discuss

Many updates, cleanups
@jpage4500
Copy link
Owner

Hi @imnotbob - you're the expert so I'm sure these are all good changes. To that end, are you using an IDE to help with code completion? I noticed the lines below which looks like something I'd see from IntelliJ or another JetBrains IDE

//file:noinspection SpellCheckingInspection

anyway - I'll test this out locally and if it works I'll merge it in and update HPM

thanks,
joe

@imnotbob
Copy link
Contributor Author

imnotbob commented Sep 6, 2023

Yes, I use intellij

@jpage4500 jpage4500 merged commit 1e9a65b into jpage4500:master Sep 6, 2023
// TODO: experiment with these values.. make sure we're not calling the API too frequently but still get timely user updates
if (numLocationUpdates == 0) {
// update every 300 (was 30,15,10) seconds
refreshSecs = 300
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoa.. this isn't good. We should never be updating members more frequently than 1 minute and when active every 10 seconds is what I wrote.

I didn't see this originally but now I need to take control of this again until I have more time

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.

None yet

2 participants