Questions tagged [stale]
6 questions
1
vote
3 answers
React stale useState value in closure - how to fix?
I want to use a state variable (value) when a modal is closed. However, any changes made to the state variable while the modal is open are not observed in the handler. I don't understand why it does not work.
CodeSandbox
or
Embedded…

Matt
- 4,261
- 4
- 39
- 60
0
votes
2 answers
Stale Element Exception
public class ClearSearch {
public static void main(String[] args) throws InterruptedException {
//Step 1:
ChromeDriver driver = new ChromeDriver();
driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(15));
…
0
votes
0 answers
Aerospike how to detect stale connections in java client
My java application uses an Aerospike client to connect to a cluster in the cloud. For some reason the cluster went down and we created a new cluster. My java client has stale connections ( which are still trying to connect to the old cluster). Only…
0
votes
1 answer
React Query - staleTime and cached value
I was trying to implement react query into one of the projects at work, but I'm struggling with understand staleTime functionality and dynamic queryKeys.
I want to fetch data for specific Producer or Category with dynamic queryKey, but if I set…

Bartosz Król
- 21
- 2
0
votes
1 answer
ChromeDriver - stale element reference
I'm using ChromeDriver on Windows with AutoIt.
Work flow is like this: navigate to page, find element (input field), post text, submit is OK = so far, so good.
I a few seconds (also tried 30-40 seconds), repeat all operations, using exact same data…

Paul Queen Soft
- 1
- 1
0
votes
0 answers
My Solr Server shows old data every second day
Am using solr with my application , specially for certain search module.
I had a failure few days back with which the entity audit table went out of sync.
After rectifying that issue whenever i add some data , it disappears the next day and solr…