Forum Activity for @brian

brian
@brian
07/10/16 09:07:49AM
10,167 posts

Queue depth status


Using Jamroom

None of this is really an issue on a busy system. Queues are never held up in any way - there just may not be enough active processes on a system that has no one hitting web pages that a queue may sit there for bit. You'll really only ever see this on a development system. On a "live" system there are enough web processes calling up workers that everything gets worked through very quickly with almost no delay.

I've got something in place for the next Core that will let you set the priority of a queue worker if you want - i.e.
jrCore_register_queue_worker('jrCore', 'send_email', 'jrCore_send_email_queue_worker', 0, 4, 3600, HIGH_PRIORITY_QUEUE);
Note the new HIGH_PRIORITY_QUEUE flag on the register worker call. There is a corresponding LOW_PRIORITY_QUEUE flag if you want the worker to run after all other queues are checked.
updated by @brian: 07/10/16 09:09:10AM
brian
@brian
07/10/16 07:10:46AM
10,167 posts

Queue depth status


Using Jamroom

DannyA:Ok. Thanks. Just saw the other one too. I was hoping Pauls answer was not definitive. May have to do something custom unless you have any plans to do something. It would be great to set a PRIORITY parameter on a job and have the client execute the highest priority job first.

Yeah I could see this being useful as well - mainly to ensure email is sent first (or attempted to). I'll check it out and see if it is something that could be supported easily.
brian
@brian
07/10/16 07:08:48AM
10,167 posts

Some questions (from a Social Engine user)


Design and Skin Customization

spiritwolfie:almost all sites I've set up have been done in a layout editor using page editing and dropping widgets in and clicking 'settings' and configuring them there

Jamroom has this too - it's called "Site Builder":

https://www.jamroom.net/the-jamroom-network/documentation/site-builder

You can easily create as many pages on your site as you want.

You're in good hands with @paul so you'll have no problem :)
brian
@brian
07/09/16 03:00:12PM
10,167 posts

Queue depth status


Using Jamroom

@paul answered your other post here:

https://www.jamroom.net/the-jamroom-network/forum/new_posts/41667/prioritizing-queue-jobs

and I will check out this one in more depth on Monday - I see 404 here as well and am not sure why.

Thanks!
brian
@brian
07/08/16 02:55:08PM
10,167 posts

Queue depth status


Using Jamroom

Make sure the Cloud Core module is installed on the server you are making the call FROM, and that it is configured with your cluster name and password.
brian
@brian
07/08/16 02:53:46PM
10,167 posts

How Can I Change Button Icons?


Design and Skin Customization

You can just add an "icon" parameter:
{jrCore_item_create_button module="jrProfile" view="create" profile_id=$_profile_id title="Create new Profile" icon="custom"}
brian
@brian
07/08/16 02:53:00PM
10,167 posts

More Control of the Liked Items Page


Suggestions

There is no specific template for that view - it is constructed using the item_list.tpl files for the individual modules.
brian
@brian
07/08/16 12:46:58PM
10,167 posts

Queue depth status


Using Jamroom

That means the URL is incorrect - double check the URL.
brian
@brian
07/08/16 12:13:41PM
10,167 posts

Queue depth status


Using Jamroom

Looks like it needs a dummy value - i.e.:
jrCloudCore_send_encrypted_request($url, array('temp' => 1));
Let me know if that works.
brian
@brian
07/07/16 02:22:54PM
10,167 posts

Queue depth status


Using Jamroom

You can do this from the master to the Queue Server with the following code:
$url = "http://yourqueueserver.com/cloudqueueserver/info";
$_rs = jrCloudCore_send_encrypted_request($url, array());
$_rs will contain an array of queue info just like jrCore_get_active_queue_info() would produce.
  233