Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,6 @@ function WebsocketMessageService($rootScope, websocketEvents) {
},

runAllParagraphs: function(noteId, paragraphs) {
// short circuit update paragraph status for immediate visual feedback without waiting for server response
paragraphs.forEach((p) => {
$rootScope.$broadcast('updateStatus', {
id: p.id,
status: 'PENDING',
});
});

// send message to server
websocketEvents.sendNewEvent({
op: 'RUN_ALL_PARAGRAPHS',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ public boolean execute(String interpreterGroupId, boolean blocking) {
if (getConfig().get("enabled") == null || (Boolean) getConfig().get("enabled")) {
setAuthenticationInfo(getAuthenticationInfo());
interpreter.getScheduler().submit(this);
} else {
return true;
}

if (blocking) {
Expand Down