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

[v2] GraphQL Configuration Scan invoked many times #230

Closed
RafaelKr opened this issue Apr 5, 2019 · 3 comments
Closed

[v2] GraphQL Configuration Scan invoked many times #230

RafaelKr opened this issue Apr 5, 2019 · 3 comments

Comments

@RafaelKr
Copy link

RafaelKr commented Apr 5, 2019

Version and Environment Details

Operation system:
Linux Mint 19.1 Cinnamon 64-bit

IDE name and version:

IntelliJ IDEA 2019.1 (Ultimate Edition)
Build #IU-191.6183.87, built on March 27, 2019
Licensed to IntelliJ IDEA Evaluator
Expiration date: April 28, 2019
JRE: 1.8.0_202-release-1483-b39 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-47-generic

Plugin version:
v2.0.0-beta-2 (installed via Plugin Repository)

Expected Behaviour

GraphQL Configuration Scan invocation should be debounced, so it only executes once.

Actual Behaviour

GraphQL Configuration Scan seems to be invoked many times.
image

@jimkyndemeyer
Copy link
Collaborator

Hi Rafael.

Thanks for testing the plugin.

Can you describe the steps needed to reproduce this? I'd like to understand the problem fully before implementing a fix.

Best regards,
Jim.

@RafaelKr
Copy link
Author

RafaelKr commented Apr 5, 2019

Hey Jim,

in my case it is an Android project, and I don't event use graphql there (yet). I just ran a gradle sync.
I could imagine that there are many files updated, which triggers the Config Scan and instead of checking if there is already a scan requested it just puts it into the Background Task queue. But you're the specialist ;)

Thanks for your incredibly fast response! Have a nice weekend
Rafael

@jimkyndemeyer
Copy link
Collaborator

Fixed in the upcoming 2.0.0 release.

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

No branches or pull requests

2 participants