[ckan-dev] Database connections per worker
Joe Tsoi
joe.tsoi at okfn.org
Thu May 1 17:01:13 UTC 2014
this looks like a quirk in the when a development server is run when
the config is loaded, an transaction is left open after
app_globals.reset() is called in make_app() in middleware.py when
get_system_info is called.. Adding a commit() to get_system_info fixes
it. This doesn't seem to affect production environments that I've
seen, but we should fix it anyway.
On 1 May 2014 16:39, Alice Heaton <a.heaton at nhm.ac.uk> wrote:
> Hi,
>
>
> On 01/05/14 16:35, Joe Tsoi wrote:
>>
>> if you ran through the default
>> install instructions then you'll have configured apache to have 2
>> processes with 15 threads, this is probably where your second engine
>> comes from.
>
> This is definitely with only one process, ran as paster script on my dev
> box.
>
> Thanks,
> Alice
>
> _______________________________________________
> 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
More information about the ckan-dev
mailing list