Skip to content

Delay on event trigger #119

Closed
Closed
@mohsan95

Description

@mohsan95

Hi,
I integrated parse live query in my app and i am facing delay in UPDATE event. It triggers right after 11 minutes of change done to the object from dashboard. The same code is working perfectly on Back4App but delays on my Parse server. The subscription is successfull everytime.

SubscriptionHandling<ParseObject> subscriptionHandling = parseLiveQueryClient.subscribe(query);
        subscriptionHandling.handleSubscribe(new SubscriptionHandling.HandleSubscribeCallback<ParseObject>() {
            @Override
            public void onSubscribe(ParseQuery<ParseObject> query) {
                Log.v(TAG, "subscribed successfully");
            }
        });
        subscriptionHandling.handleEvent(SubscriptionHandling.Event.UPDATE, new SubscriptionHandling.HandleEventCallback<ParseObject>() {
            @Override
            public void onEvent(ParseQuery<ParseObject> query, ParseObject object) {
                Log.v(TAG, "event occurred");
            }
        });

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions