Log message #4180850

# At Username Text
# Mar 26th 2019, 14:56 neon1024 Sure thing, I have a few, and I know that @lorenzo and @steinkel have a few. Let me see if I can find some
# Mar 26th 2019, 14:51 skie Have you tried to use oracle synonyms? That the best way to use multiple schemas in oracle
# Mar 26th 2019, 14:39 Albatros I do not mean on this tutorial in docu
# Mar 26th 2019, 14:39 dereuromark Check the awesome list for demo apps. https://github.com/FriendsOfCake/awesome-cakephp
# Mar 26th 2019, 14:38 Albatros Hi there, is there any free project on the github (CakePhp) which we can see code and "Best practice" or something similair?
# Mar 26th 2019, 14:37 slackebot2 <paul_83uk>
# Mar 26th 2019, 14:36 paul_83uk Hi All, I'm a little lost with how cakephp 3.5+ manages cookies (really do miss the simplicity of the CookieComponent) I simply want to delete a cookie but am not sure how to do it reading through the docs theres very little info about how to manage cookies
# Mar 26th 2019, 13:34 ricksaccous I'm guessing I have to use 3.13.1, alright awesome
# Mar 26th 2019, 13:34 dereuromark not too bad I guess
# Mar 26th 2019, 13:34 ricksaccous how bad would that be? heh
# Mar 26th 2019, 13:34 ricksaccous @dereuromark i might have to use the one compatible with 3.6 as things are a bit behind here
# Mar 26th 2019, 13:31 ricksaccous thanks for the plugin ;)
# Mar 26th 2019, 13:31 ricksaccous beautiful
# Mar 26th 2019, 13:30 dereuromark the queue got some cool updates recently, we are using it quite heavily for a lot of internal processing, and it is very stable and without any issues so far for 3+ workers in parallel.
# Mar 26th 2019, 13:29 ricksaccous read*
# Mar 26th 2019, 13:29 ricksaccous awesome i'll ready more into it, this will be a great solution for us
# Mar 26th 2019, 13:28 dereuromark the nice thing about this: each indiviual fail can be auto-retried e.g. once. and only if that still didnt work someone has to manually intervene.
# Mar 26th 2019, 13:27 dereuromark otherwise you need to use apps like mailchimp to process higher amounts without gateway timeouts.
# Mar 26th 2019, 13:27 ricksaccous i wonder what the limitations on my gateway are now, but that's pretty nifty
# Mar 26th 2019, 13:27 ricksaccous heh, cool
# Mar 26th 2019, 13:27 dereuromark why not? you can process thousands per hour easily. if your gateway is fine with this.
# Mar 26th 2019, 13:27 ricksaccous so that would work fine?
# Mar 26th 2019, 13:26 dereuromark you just sent all 400 as queue tasks to the queue. the workers process them invividually, until queue is empty. depending on how many workers, there could be a few sent in parallel.
# Mar 26th 2019, 13:26 ricksaccous or what would be the optimal way of task creation in this case
# Mar 26th 2019, 13:25 ricksaccous @dereuromark i was reading into your queue plugin recently and had a question, let's say i wanted to send an email at a time to about 400 recipients, and after every email i'd mark a flag in the db as email sent and move on to the next email, would that just be a case of recursively creating workers until the task is completed?
# Mar 26th 2019, 12:15 neothermic of all the things we've modded, that's not one of them
# Mar 26th 2019, 12:15 neothermic heh
# Mar 26th 2019, 12:15 neon1024 ..have you modified the session creation? :slightly_smiling_face:
# Mar 26th 2019, 12:14 neon1024 Like you think it’s using Memcached, and it’s falling back to File or something
# Mar 26th 2019, 12:13 neon1024 Can you see the key in Memcached?
# Mar 26th 2019, 12:13 neon1024 Your user object that is, perhaps it’s the same in Cake 2
# Mar 26th 2019, 12:13 neon1024 In Cake 3 anything your login method returns is set to the session
# Mar 26th 2019, 12:13 neothermic @neon1024 Narp. Tis not a login method either
# Mar 26th 2019, 12:12 neon1024 @neothermic Do you have debug on? Is your login method collecting too much data, and thus setting a huge object to the session on login?
# Mar 26th 2019, 11:59 egalles thx
# Mar 26th 2019, 11:59 egalles but maybe you re right when data is variable to use always from single source
# Mar 26th 2019, 11:58 egalles because I use auth component to get data from other views
# Mar 26th 2019, 11:56 neothermic Hmm. I ponder why _startSession() is taking 3s+ when I'm using memcache for sessions ¬_¬
# Mar 26th 2019, 11:53 dereuromark why not reading always from single source of truth (DB) then for this? sounds simpler and easier.
# Mar 26th 2019, 11:51 egalles in appcontroller?
# Mar 26th 2019, 11:51 egalles function beforeFilter(){ $user = $this->User->field('name', array('User.id' => $this->Session->read('Auth.User.id'))); $this->Session->write('Auth.User', $user); }