<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Asynchronous action blocking upload in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/asynchronous-action-blocking-upload/m-p/264441#M217571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've got an asynchronous action that's run when a new file is uploaded (triggered by the OnContentUpdate policy behaviour).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This all works fine when uploading just 1 file; the action gets triggered and completes without issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem starts when uploading several files at once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A few files get uploaded but then the upload pauses, the actions for each file are run after which the upload continues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately this action takes about a minute to complete so the upload becomes very slow, quite often it even times out before the second batch is uploaded. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been testing this using share (drag-and-drop multiple files) as well as using FTP but these both show the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When using Share it uploads the first 6 files, pauses and times out (showing 6 failed uploads in the upload panel). I can see the actions continuing and as soon as they've completed the next batch of files get uploaded etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When using FTP it doesn't really upload 6 files before pausing but the uploads become very slow and usually time out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have the same issue with a renditionDefinition, but I believe those extend actions so I guess that's the same issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know why this is happening despite the action being asynchronous and what i can do to let all uploads continue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using community 4.0b but am not sure if this doesn't happen on other versions as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Skip&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2011 14:22:33 GMT</pubDate>
    <dc:creator>schipmolder</dc:creator>
    <dc:date>2011-11-24T14:22:33Z</dc:date>
    <item>
      <title>Asynchronous action blocking upload</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/asynchronous-action-blocking-upload/m-p/264441#M217571</link>
      <description>I've got an asynchronous action that's run when a new file is uploaded (triggered by the OnContentUpdate policy behaviour).This all works fine when uploading just 1 file; the action gets triggered and completes without issues.The problem starts when uploading several files at once.A few files get up</description>
      <pubDate>Thu, 24 Nov 2011 14:22:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/asynchronous-action-blocking-upload/m-p/264441#M217571</guid>
      <dc:creator>schipmolder</dc:creator>
      <dc:date>2011-11-24T14:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Asynchronous action blocking upload</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/asynchronous-action-blocking-upload/m-p/264442#M217572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's very weird… So how do you start the action from your policy ? Because if your action is implemented in your policy, it's synchronous.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 16:44:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/asynchronous-action-blocking-upload/m-p/264442#M217572</guid>
      <dc:creator>bchevallereau</dc:creator>
      <dc:date>2011-12-13T16:44:48Z</dc:date>
    </item>
  </channel>
</rss>

