Project

General

Custom queries

Profile

Actions

Bug #5400

closed

Calling remove-from-environment takes a long time

Added by David Davis about 11 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

It should be running a dynflow task in the background. Not sure why it's timing out.

$ h content-view remove-from-environment --id 2 --environment-id 2
Could not remove the content view from environment:
  Error: Request Timeout
Actions #1

Updated by David Davis about 11 years ago

I found out the reason behind this. So it looks like the CLI creates the task, then it makes another call to get the task info (I assume maybe to poll or something?) and this second call is what's timing out since something during environment removal is blocking in development mode. I think the only way to solve this would be to run dynflow in the background in development.

Actions #2

Updated by David Davis about 11 years ago

  • Priority changed from Normal to Low

It looks like this only happens in development. Setting priority to low.

Actions

Also available in: Atom PDF