#28 new
Matt Margolis

AbstractAssetBundler might not be thread safe?

Reported by Matt Margolis | May 12th, 2009 @ 03:08 PM

This ticket concerns merb-assets bundle functionality. I am working with 1.0.11

When bundling CSS/JS I am finding that under situations with concurrency I end up with inconsistent output from the bundlers. I believe that the locking during file generation is to blame.

I believe the issue is File#flock. File#flock is used two times in merb-assets/lib/merb-assets/assets.rb

These threads seems to imply that flock is not thread safe.

http://groups.google.com/group/r...

http://blade.nagaokaut.ac.jp/cgi...

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages