Answers.Body: <p>It sounds like delegating the import to a Task would be the best way to implement this. More info in this answer:</p>
  
  <p><a href="https://craftcms.stackexchange.com/questions/2019/does-craft-have-a-server-side-queuing-system/2020#2020">Does Craft have a server-side queuing system?</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-22T18:50:39.990Z
Answers.LastActivityDate: 2014-10-22T18:50:39.990Z
Answers.LastEditDate: 2017-04-13T12:51:00.303Z
Answers.UserDisplayName: Chris Lewis
Answers.Body: <p>Well, <em>something</em> is blocking it... CPU, Apache, MySQL, PHP, disk I/O, etc.  You can debug that or have your plugin perform it's actions in small batches or over multiple AJAX requests.</p>
  
  <p>Not much that Craft can do to help what you're seeing, though.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-25T14:43:31.960Z
Answers.LastActivityDate: 2014-09-25T14:43:31.960Z
Answers.UserDisplayName: Brad Bell
Body: <p>I have a plugin the imports data from an external database. This is more of a onetime action. But what I've noticed is that when this process runs, I cannot do anything in the admin section anymore. (and its not CPU or apache blocking) All my other requests (on other tabs) are blocked until the long running process is done. Is this normal behaviour? If so,can that be changed with config settings? </p>
  
  <p>Thanks in advance</p>
  
Tags: <control-panel><admin>
Title: Concurrent actions in admin
ThreadText: # Concurrent actions in admin
  
  (Asked by: username_0 on 2014-09-25)
  
  I have a plugin the imports data from an external database. This is more of a onetime action. But what I've noticed is that when this process runs, I cannot do anything in the admin section anymore. (and its not CPU or apache blocking) All my other requests (on other tabs) are blocked until the long running process is done. Is this normal behaviour? If so,can that be changed with config settings?
  
  Thanks in advance
  
  **Tags:** control-panel, admin
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2014-10-22. Score: 1
  
  It sounds like delegating the import to a Task would be the best way to implement this. More info in this answer:
  
  [Does Craft have a server-side queuing system?](https://craftcms.stackexchange.com/questions/2019/does-craft-have-a-server-side-queuing-system/2020#2020)
  
  
  ---
  
  ### Answer by username_2 on 2014-09-25. Score: 0
  
  Well, *something* is blocking it... CPU, Apache, MySQL, PHP, disk I/O, etc. You can debug that or have your plugin perform it's actions in small batches or over multiple AJAX requests.
  
  Not much that Craft can do to help what you're seeing, though.
  
  
  ---
  
  