ilvalle
d1efc8b55d
fix py37 conflict due to async definition in scheduler
2018-02-04 10:02:14 +01:00
mdipierro
0c3662fb6d
scheduler should decode credentials
2017-06-15 03:59:51 -05:00
niphlod
b7219ba2fd
fixes #1484 , thanks @abastardi
2016-10-03 21:09:27 +02:00
niphlod
790593228f
fixes #1452
2016-09-19 20:41:41 +02:00
niphlod
a1e1bf3500
fix sys.path dance part #2 and scheduler tests for py3
2016-08-31 01:47:42 +02:00
Giovanni Barillari
0528a347b3
Updated pyDAL to 16.08
2016-08-13 15:38:55 +02:00
mdipierro
35eaba1096
removed duplicated code, using pydal's _compat.py
2016-08-01 03:39:22 -05:00
niphlod
5e0a53f4c2
fixes #1347
2016-06-28 21:49:23 +02:00
niphlod
6bb255286a
repeats via cronline expression
2016-06-15 21:32:51 +02:00
ilvalle
fd850ab46f
fix validators, updated gluon/contrib/ipaddr
2016-06-07 19:50:49 +02:00
ilvalle
71ba0e515f
updated portalocker, few py3 syntax/import fix
2016-06-04 14:07:42 +02:00
ilvalle
db8306b5c4
fix iteritems, enabled test_cache & test_dal for 3.5
2016-06-02 17:21:36 +02:00
ilvalle
707330accd
Enabled 3.5 on travis
2016-06-02 16:06:49 +02:00
ilvalle
a1fd92b7f8
updated imports in tests
2016-06-02 14:28:21 +02:00
ilvalle
48e10a3793
running libfuturize.fixes.fix_print_with_import
2016-05-30 21:23:40 +02:00
ilvalle
35900da19b
running lib2to3.fixes.fix_except
2016-05-29 08:31:19 +02:00
ilvalle
d22222ebea
running lib2to3.fixes.fix_reduce
2016-05-29 08:31:19 +02:00
Leonel Câmara
a9ee9a6b58
remove simplejson
2016-05-11 00:47:23 +01:00
niphlod
2031a43058
can now process tasks with huge_results
...
Added tests, too. Cleanups leftovers better, so fixes #1304
2016-05-01 22:01:49 +02:00
niphlod
6abb78c559
initial tests for scheduler.py
2016-04-04 22:58:42 +02:00
niphlod
642ec2b934
fixes #1191
...
fix is in lines 828-835 . needed to backport total_seconds for py2.6
(694-701).
everything else is just pep8.
2016-02-25 02:46:36 +01:00
niphlod
918590d1f3
fix for STOPPED tasks via stop_task()
...
they previously killed the main process
2016-01-02 22:50:27 +01:00
Hardirc
3e19e3d0db
Improve PEP8 gluon/scheduler.py
2015-03-06 22:22:00 -05:00
Leonel Câmara
a9f834c2e8
Fix - Scheduler - Convert task args back to utf-8
...
See this thread for more details:
https://groups.google.com/forum/#!topic/web2py-developers/0OPEm9WELoM
2015-02-24 23:13:01 +00:00
gi0baro
4b337c3e2c
Merge branch 'master' into pydal-pip
...
Conflicts:
gluon/__init__.py
gluon/dal/_load.py
gluon/dal/adapters/base.py
gluon/dal/adapters/google.py
gluon/dal/adapters/postgres.py
gluon/dal/adapters/teradata.py
gluon/dal/base.py
gluon/dal/objects.py
gluon/tests/__init__.py
gluon/tests/test_dal_nosql.py
2015-01-17 13:32:06 +01:00
niphlod
9132343820
better assignment (tasks go to not running workers only). Thanks @PengfeiYu
...
- pep8 adjustments
- tasks were assigned to all ACTIVE workers... if a worker is busy processing a task,
there's no point on assigning tasks to it
2014-12-18 23:48:10 +01:00
gi0baro
f60c1dff93
Fixing imports for new pydal
2014-12-15 22:24:04 +01:00
gi0baro
dcadcf0ffb
Added pyDAL from repository, adapted web2py code
2014-12-15 20:13:40 +01:00
niphlod
dafe900629
timeout = 0 leads to erratic behaviour. Allowing timeout = 0 is considered unsafe
2014-11-25 21:17:53 +01:00
niphlod
c071bc964b
update dependencies only if COMPLETED, allow to set status on a specific worker
2014-10-30 21:54:36 +01:00
Henry Nguyen
7aa51fcbb0
Fixed missing update for new DAL structure
...
Other values were updated in 5e5e649c28 but this was missing from that commit.
2014-10-24 12:18:17 -07:00
gi0baro
5c07c511fa
Merge branch 'master' into DAL-modular
...
* master: (58 commits)
changed version number
better types by default, given that we're on 2005 at least
fix for StorageList and tests added
improved coverage, fix bug with IS_LIST_OF and items not being strings
fix cache.increment, added tests
R-2.9.11
reverted simplejson
R-2.9.10
upgraded memcache and markdown2
upgraded pypyodbc.py
upgraded simplejson
no more split in contains, thanks Niphlod
fixed wording and bug on contains(), made smart_query use ilike instead of like
ilike, thanks Niphlod
CROSS JOIN, thanks jotbe
added custom represent to GoogleDatastoreAdapter, thanks Alan
postgresql: identifies what adapter auto-loads json values
added more tests for json Field
fixed typo in driver_auto_json
Improve the graphing to show the name of the application.
...
Conflicts:
gluon/dal.py
gluon/globals.py
gluon/tests/test_dal.py
2014-09-25 12:49:16 +02:00
niphlod
1456c0da1e
references can be long too
2014-09-03 21:23:24 +02:00
niphlod
fa5100cb2a
avoid multiple cascade paths
2014-09-03 21:09:09 +02:00
gi0baro
5e5e649c28
Added modular DAL, updated gluon imports to new structure
2014-09-03 12:48:03 +02:00
niphlod
7e73faf619
doc fixes
2014-08-21 22:49:26 +02:00
Leonel Câmara
0f55d43a11
Removed unecessary dict call in get_workers
2014-08-05 15:37:10 +01:00
niphlod
cb6f2ca302
task dependencies, a little bit of refactoring
2014-08-04 21:42:11 +02:00
mdipierro
21bdf114b4
Merge pull request #462 from niphlod/fix/scheduler_disabled
...
a DISABLED worker shouldn't resume after completing a task
2014-06-15 22:20:17 -05:00
niphlod
d2c9f510bc
if a worker is DISABLED while processing a task, it shouldn't resume after finishing it
2014-06-15 17:40:08 +02:00
niphlod
84cf736b63
removed leftover print
2014-06-15 15:15:33 +02:00
niphlod
da49391134
- refactored internals
...
- pep8
- worker stats
- kill(), terminate(), resume(), disable() have a new "limit" parameter
- first steps towards autoscaling
- needs an additional column (easiest migration possible)
2014-06-08 22:51:26 +02:00
niphlod
3597833bac
sphinx-compatible docstrings (7 modules remaining...)
2014-03-23 21:46:25 +01:00
niphlod
9434baba11
added the prevent_drift parameter
2014-01-20 22:43:53 +01:00
Jeremie Dokime
3f200c245c
Fix concurrency handling in order to avoid that some workers get the same task at the same time.
2014-01-13 15:17:58 +01:00
niphlod
d30098d646
inject W2P_TASK in current, so you can use current.W2P_TASK in imported modules. Thanks @Xiaonuo for the feature request
2013-10-23 00:03:04 +02:00
niphlod
cbddfb5cdf
fix issue with scheduler namespace. Thanks @limedrop for spotting this.
2013-08-24 14:05:08 +02:00
niphlod
ae567462d3
fixed issue 1611 (scheduler's migrate should follow Auth's migrate behaviour)
2013-08-04 20:56:52 +02:00
niphlod
6cb91ab60d
fix issue with sys.path. Now the path looks like 'root/gluon', 'root/site-packages', 'root' like in a normal web request
2013-08-03 02:46:59 +02:00
niphlod
8666d3520e
fixed issue 1567 with scheduler and Mysql
2013-06-29 22:49:05 +02:00