Skip to content

task broken in scheduler while threadpool size was little than the count of client #90

@wsky

Description

@wsky
if (!this.executeTask(task)) {
                    this.setRejectedTask(task);
                    return;
                }

task rejected by threadpool, but scheuler redispatch from the head of queue

Iterator<Entry<T, Queue<Runnable>>> iterator = this.tasks.entrySet().iterator();
            while (iterator.hasNext()) {
//...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions