Commit graph

81 commits

Author SHA1 Message Date
cf5837e005
Updated CHANGELOG.md 2023-08-06 16:17:28 -04:00
518b23cd5f
\TamerLib\tm > wait() will output worker updates even if there are no jobs in the queue, this fixes a bug where workers would not be updated if the client only calls dof() 2023-08-06 16:16:13 -04:00
1631f89ae6
\TamerLib\Classes > JobManager > connect() re-constructs the Redis client before connecting to the server. 2023-07-29 08:46:42 -04:00
cc8612458d
Minor correction 2023-07-27 19:48:59 -04:00
da8ed340ef
Minor correction 2023-07-27 17:51:54 -04:00
0dd40dd600
\TamerLib\Classes > JobManager > disconnect() now disconnects even if the server is still connected, this is to prevent the server from being left in a bad state if the connection is lost. 2023-07-27 17:13:22 -04:00
696b8f16ff Update .gitlab-ci.yml to release package builds 2023-07-11 23:09:21 +00:00
f0b7067107
Bumped version to 2.1.2 2023-07-09 11:48:48 -04:00
eaa9887150
\TamerLib\tm > wait() no longer throws a TimeoutException, the function will simply return when the timeout is reached. 2023-07-09 11:48:25 -04:00
ba82426e32
Fixed bug in JobManager in \TamerLib\Classes > JobManager > returnJob() and \TamerLib\Classes > JobManager > returnException() where if the "return_channel" is empty instead of null, the job would be returned to an empty channel instead of being dropped. 2023-07-07 02:28:20 -04:00
499a871ce5
Updated CHANGELOG.md 2023-07-07 00:29:52 -04:00
427f0069e3
Updated project.json 2023-07-07 00:28:50 -04:00
4d69196bfe
Updated README.md documentation 2023-07-07 00:28:35 -04:00
9edc68ca1a
Many changes, see CHANGELOG.md 2023-07-07 00:22:35 -04:00
4ff2bd403f
Bumped version to 2.0.2 2023-07-06 18:05:38 -04:00
cf912dad6d
\TamerLib\Classes\ > RedisServer > start() now starts the server with a matching logging level to net.nosial.loglib 2023-07-06 18:05:21 -04:00
264fea0c7c
Optimizations in \TamerLib\Classes\JobManager 2023-07-05 19:36:14 -04:00
2083f63527
Updated logging event 2023-06-30 03:37:52 -04:00
76167c307c
Updated CHANGELOG.md 2023-06-30 00:59:20 -04:00
4531e594a2
\TamerLib > tm > do() the parameter $callback is now optional. If not provided, the job result will not be handled by the client and just be discarded. 2023-06-30 00:58:08 -04:00
a8b6f06b6d
Bumped version to 2.0.1 2023-06-30 00:56:08 -04:00
54bc954830
Fixed bug where \TamerLib > tm > run() would return early even if the $timeout is set to 0. 2023-06-30 00:55:51 -04:00
bc91147557
Updated README.md 2023-06-18 17:32:04 -04:00
33ddbbac25
Updated README.md 2023-06-18 17:31:21 -04:00
a12923600e
Updated CHANGELOG.md 2023-06-18 17:22:57 -04:00
411898af2a
Refactored main class, improved a few things here and there. Looks polished enough 2023-06-18 17:17:13 -04:00
75c6062a3e
Minor changes in exception handling in \TamerLib\Classes > JobManager 2023-06-18 16:51:52 -04:00
1c98b388f2
Rewrote README.md to reflect the documentation in TamerLib 2.0.0 2023-06-18 13:53:51 -04:00
eccb072a5e
Minor refactoring 2023-06-17 04:25:15 -04:00
129c01b96f
Updated \TamerLib > tm > addFunction() to validate the function name and check if the function name is reserved 2023-06-17 04:24:15 -04:00
21d0075ed5
Refactored WorkerSupervisor & subproc 2023-06-16 03:48:23 -04:00
13cade66cc
Pass on cwd to the sub-process in \TamerLib\Objects > WorkerInstance > start() 2023-06-16 03:44:18 -04:00
13ad2b0ef8
Many changes. 2023-06-16 03:38:51 -04:00
dc02826079
Updated \TamerLib\Objects > WorkerInstance to pass through the parent process arguments to the sub-process 2023-06-16 02:31:17 -04:00
ee70a733db
Updated \TamerLib\Objects > WorkerInstance to pass through the parent process arguments to the sub-process 2023-06-16 02:31:13 -04:00
f85c0e7e5d
Updated \TamerLib > tm > monitor() to do it's own loop for a indefinite timeout. 2023-06-16 02:30:08 -04:00
44b554d08c
Removed all unused files 2023-06-16 02:17:34 -04:00
2b39a9df9e
Many changes in \TamerLib > tm 2023-06-16 02:16:25 -04:00
d409969f17
Added standalone test 2023-06-16 02:07:51 -04:00
0f96c0ce60
Added worker test 2023-06-16 02:07:36 -04:00
478d12fd43
Removed EncodingType.php 2023-06-16 02:07:19 -04:00
9a876278ab
Updated IDE files 2023-06-16 02:07:08 -04:00
799816742d
Updated logging method in \TamerLib\Objects > ServerConfiguration. 2023-06-16 02:06:51 -04:00
c59ed792f9
Updated logging method in \TamerLib\Objects > ServerConfiguration. 2023-06-16 02:06:35 -04:00
599224ebbd
Added monitor() method to \TamerLib\Classes > RedisServer & some applide some other minor changes. 2023-06-16 02:04:59 -04:00
f0ceb736d1
Minor correction 2023-06-16 01:47:59 -04:00
db47d0fc0e
Refactored Exceptions 2023-06-16 00:53:26 -04:00
ffdaaebfbc
Refactored JobManager 2023-06-16 00:51:30 -04:00
f20551857b
Lots of changes, implemented the base usage. Beware of bugs and unfinished states 2023-06-12 21:32:35 -04:00
0c23fdfac2
Implemented Redis Server controller 2023-06-10 01:46:34 -04:00