[ckan-dev] CKAN file upload size

Vitor Baptista vitor at vitorbaptista.com
Sun Jan 31 10:50:32 UTC 2016


Hi Mike,

My pleasure :)

I'm not sure what the core team thinks about this, but you can always
propose this change by creating an issue or (better yet) sending a pull
request to https://github.com/ckan/datapusher.

Cheers,
Vitor.

On 31 January 2016 at 03:16, Mike Sinclair <mm.sinclair08 at gmail.com> wrote:

> Thanks Victor. I didn't realize there was a configuration option for that.
>
> Perhaps it would be nice to make 20 or 30 as CKANs default because many
> popular uploads such as an address.csv for a municipality are beyond 10.
>
> Thanks,
>
> Mike
> On Jan 30, 2016 4:50 AM, "Vitor Baptista" <vitor at vitorbaptista.com> wrote:
>
>> Hi Mike,
>>
>> I'm not sure why 10 MB was used in the first place, but that's not
>> hardcoded anymore (see
>> https://github.com/ckan/datapusher/commit/013c19e1143bf68d54fe35804a092eabb1af2249).
>> You can change it altering a configuration value (
>> http://docs.ckan.org/projects/datapusher/en/latest/using.html#configuring-the-maximum-upload-size
>> )
>>
>> Cheers,
>> Vitor.
>>
>> On 30 January 2016 at 06:53, Mike Sinclair <mm.sinclair08 at gmail.com>
>> wrote:
>>
>>> Hi guys,
>>>
>>> I'm wondering why a file upload size of 10MB is hardcoded into CKAN? I
>>> know that I can directly go in and change that, but why was 10 chosen? Is
>>> there a hard limit somewhere that I'm not aware of?
>>>
>>>
>>> Cheers,
>>>
>>> Mike
>>>>>>>>>
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>
>>>
>>
>>
>> --
>>
>> Vítor Baptista
>>
>> http://vitorbaptista.com
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
>>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>


-- 

Vítor Baptista

http://vitorbaptista.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160131/c17ed9fb/attachment-0003.html>


More information about the ckan-dev mailing list