Philipp Holzer
0218d16335
Lock abstraction (like the Cache)
...
- adding interface
- adding seperate drivers
- moving Lock to the Core package
2018-06-26 22:31:04 +02:00
miqrogroove
12d0f4bf3c
Add Comments to Worker Exponent Implementation
2018-06-20 06:43:57 -04:00
miqrogroove
9cde4aa109
Make Load Exponent Configurable
2018-06-20 06:22:53 -04:00
miqrogroove
97cabcecf2
Unify Worker Load Formulas
2018-06-20 06:06:20 -04:00
Michael
00124f9ac0
Makes the linear load calculation optional
2018-06-20 04:38:50 +00:00
miqrogroove
0dbddb240c
Update Worker.php
2018-06-19 18:55:55 -04:00
miqrogroove
7e4d7b9aac
Fix logic errors in tooMuchWorkers()
...
There are probably a dozen different ways to do this, so this is not necessarily the "right" way.
2018-06-19 18:53:02 -04:00
Michael
962fbc9166
Many "fetch_first" had been replaced
2018-06-19 21:33:07 +00:00
Michael
e97a3c25e7
Multiple daemon improvements (foreground, faster spawning)
2018-06-15 18:18:20 +00:00
Michael
1304dae0d3
Bugfix: In the daemon mode we forgot to call the cron jobs
2018-06-06 03:48:04 +00:00
Michael
371f511954
Respect "don't fork"
2018-06-02 05:17:32 +00:00
Michael
3034170088
DBStruxture can now create "memory" tables as well
2018-06-02 05:03:23 +00:00
Michael
28f8beebfc
Workers can now be started exclusively from the daemon and other workers
2018-06-01 22:09:27 +00:00
Hypolite Petovan
93daf7883e
Merge branch 'master' into develop
...
- Updated new develop version label
- Incremented database build number
2018-06-01 07:30:04 -04:00
Roland Häder
fe1e7b92f2
Continued:
...
- system,worker_dont_fork may not be set, always set default to "false" to
have it properly set as Config::get() may one day behave differently
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:50:05 +02:00
Michael
f1b5e828db
Fix for the slow spawning of workers
2018-05-14 05:02:18 +00:00
Hypolite Petovan
27d94023ee
Merge branch 'master' into develop
2018-03-23 06:15:55 -04:00
Hypolite Petovan
1c2deac7e5
Move scripts/worker.php to bin/
2018-03-18 23:25:21 -04:00
Hypolite Petovan
95752b79e8
Add cache performance to API and worker
2018-03-04 23:13:19 -05:00
Michael
13df527d62
Bugfix: Don't cache when looking for maintenance mode
2018-03-04 13:01:46 +00:00
Hypolite Petovan
d419d07f73
[Scrutinizer] Fix undeclared variables in src/ (except Protocol/)
...
- Use dba::selectFirst to remove intermediate variables `$r`
- Remove unused variable `$url_recipients` in Worker\Dellivery
2018-02-14 00:05:00 -05:00
Michael
6289e307aa
Bugfix: The provided worker priority had been ignored
2018-02-13 02:26:35 +00:00
Michael
2a762868e9
Some clean up for the worker, arrays are now supported as parameter
2018-02-11 16:18:39 +00:00
Michael
47d165cb25
Hook calls can now be forked into a worker queue entry
2018-02-06 22:52:36 +00:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00
Hypolite Petovan
35d06bd9eb
Add Temporal::utc() shorthand to Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
8aff8a76eb
Add Temporal::utcNow()
2018-02-03 08:56:52 -05:00
Hypolite Petovan
dc366bf1f7
Refactor datetime_convert into Temporal::convert
...
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Adam Magness
f04d40a37e
Review update
...
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness
c67452f72e
Move fetch_url
...
move fetch_url function
2018-01-26 23:09:48 -05:00
Adam Magness
11cf36105c
Update Addon functions and calls
...
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Hypolite Petovan
78ac7afe9c
Move process functions to Model\Process
...
- Add start|endProcess functions to Core\Worker
2018-01-17 00:17:58 -05:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Hypolite Petovan
5fc4927764
Improve dba::selectFirst calls
...
- Fix remaining $r[0] references
- Rename $r to meaningful names
2018-01-11 03:43:57 -05:00
Hypolite Petovan
ae66bcaff3
Rename selectOne to selectFirst
2018-01-10 12:57:21 -05:00
Hypolite Petovan
da60893590
Replace dba::select(limit => 1) by dba::selectOne
...
- Convert array declarations to new style
2018-01-10 12:57:21 -05:00
Hypolite Petovan
9f04017e27
Quick fix PHP notices in various files
...
- Remove unused variables
- Fix variable name typos
- Use x() and defaults() to fix undefined index
- Add back uninitialized variables
2018-01-02 08:11:14 -05:00
Hypolite Petovan
10b72b0e9e
PHPStan: Fix missing requires/namespaces
2017-12-17 15:26:43 -05:00
Adam Magness
28cceda461
Indentation
...
modified to multi line function call.
2017-11-20 11:29:55 -05:00
Adam Magness
9622dedaeb
New function
...
new function from recent develop branch merge
2017-11-20 11:01:32 -05:00
Adam Magness
1115d19f79
More Standards
...
More coding standards updates.
2017-11-20 11:01:32 -05:00
Michael
920160cb28
The poller is now the worker
2017-11-19 21:47:21 +00:00
Michael
cabfcfc904
We now are having a "scripts" folder
2017-11-19 21:21:54 +00:00
Michael
183999ee08
No german compound wording :-)
2017-11-19 19:47:04 +00:00
Michael
8cd21269ff
The last of the big workers moved ... delivery and notifier
2017-11-19 18:59:55 +00:00
Michael
2de457489f
"CreateShadowentry" and "ProfileUpdate" now moved as well
2017-11-19 16:59:37 +00:00
Michael
2515d02e6d
SpoolPost moved
2017-11-18 07:44:38 +00:00
Michael
9576f6743d
Command back ...
2017-11-14 22:13:33 +00:00
Michael
405753d1c3
cron.php is reworked, other worker files had been moved temporarily
2017-11-14 21:50:16 +00:00
Michael
06ce34eda1
The worker can now call methods in the worker namespace
2017-11-12 07:21:23 +00:00
Adam Magness
4ca68c7af0
Class file relocations
...
Issue #3878
2017-11-08 08:37:03 -05:00
Adam Magness
6189f6c8e7
Relocate class files from /include to /src/
...
dbm, Diaspora, dfrn, and NotificationsManager moved to namespace. Includes and references in files updated.
2017-11-08 08:36:48 -05:00
Adam Magness
0dfa57948f
Issue-#3873
...
Replace deprecated functions with new syntax.
2017-11-07 06:24:39 -05:00
Michael
28701a8df3
Some small correction
2017-11-06 15:38:15 +00:00
Michael
4ebb76e5a6
Changed explanation
2017-11-06 15:32:34 +00:00
Michael
84c3c0753e
Now we use only dba functions
2017-11-05 17:13:37 +00:00
Michael
70c08dee1d
Some more improvements
2017-11-05 15:28:55 +00:00
Michael
478e363967
proc_run was replaced
2017-11-05 12:15:53 +00:00
Michael
da212a28a2
New worker class that does all the work
2017-11-05 10:33:46 +00:00