Commit Graph

606 Commits

Author SHA1 Message Date
Valeryi Savich cffa1cfc2e Replaced max_retries on the RestartPolicy enum 2020-01-22 18:26:36 +02:00
Valeryi Savich 1cb4b489cc Added saving old counters for the failed actors 2020-01-22 10:04:41 +02:00
Valeryi Savich af58a407d8 Changed signature of the Supervisor::stop method 2020-01-22 00:23:00 +02:00
Valeryi Savich f0e43549f7 Changed signature of the Supervisor::kill method 2020-01-22 00:21:39 +02:00
Valeryi Savich 4c79d7a3ef Changed signature of the Supervisor::restart method 2020-01-21 23:55:36 +02:00
Valeryi Savich c7b64b7551 Added example for the supervisor with recovery strategy 2020-01-21 19:02:48 +02:00
Valeryi Savich d2b3d5a92f Implemented max retries for restoring actors 2020-01-21 18:28:25 +02:00
Mahmut Bulut f3d3ed0c2b
Merge pull request #156 from Relrin/feature-exponential-backoff
Implemented linear/exponential back off recovery strategy
2020-01-21 13:53:29 +01:00
Mahmut Bulut 4f227057f6
Merge branch 'master' into feature-exponential-backoff 2020-01-21 13:11:01 +01:00
Valeryi Savich 54b016bc19 Implemented linear back-off recovery strategy 2020-01-21 10:40:11 +02:00
Valeryi Savich d6dcdf0b64 Implemented exponential back off recovery strategy 2020-01-20 19:20:31 +02:00
Mahmut Bulut 2d9dc70596
Merge pull request #149 from bastion-rs/proc-stack-state
Stateful ProcStack
2020-01-20 11:30:07 +01:00
Mahmut Bulut cabba1ec92 use pointer cast instead of transmuting 2020-01-19 00:05:00 +01:00
Mahmut Bulut 75985f4664 Switch to nightly's fmt 2020-01-18 23:20:30 +01:00
Mahmut Bulut f2046e09ef Cleanup and format 2020-01-18 23:06:43 +01:00
Mahmut Bulut e20e8884ce Shareable state code 2020-01-18 23:00:54 +01:00
Mahmut Bulut efc4202d31
Merge branch 'master' into proc-stack-state 2020-01-08 15:08:14 +01:00
Mahmut Bulut 2db4f94801
Merge pull request #153 from bastion-rs/fix-readme-bastion-utils
bastion-utils: Add missing readme reference to cargo.toml
2020-01-08 15:07:45 +01:00
Andrey Kuznetsov bdce4c9d79 safe Proc State 2020-01-06 01:19:21 +00:00
Patrice Billaut cd61ba811c Add missing readme reference to cargo.toml 2020-01-05 22:31:14 +01:00
Patrice Billaut ce290f3a83
#151 Created Bastion Utilities crate
Created Bastion Utilities Crate
2020-01-05 22:12:40 +01:00
Patrice Billaut 54884b6b91 Added readme 2020-01-05 20:37:40 +01:00
Mahmut Bulut c972596c3c Copy alignment 2020-01-05 20:32:38 +01:00
Patrice Billaut a62a93cd4d Switched to usage of crate bastion-utils
Fix format errors
2020-01-05 19:18:20 +01:00
Patrice Billaut 234bfdd496 Created bastion-utils crate 2020-01-05 18:50:36 +01:00
Andrey Kuznetsov f4267b8fce stateful ProcStack 2020-01-05 17:25:50 +00:00
Matthieu Le brazidec 99480f0664
Merge pull request #140 from Stupremee/macro-dsl
Add macros to instantiate children and supervisors
2019-12-31 20:00:39 +01:00
Justus K 467147cf68
Add spawn macro 2019-12-31 18:09:54 +01:00
Justus K adce5e28be
Add run macro 2019-12-31 17:33:59 +01:00
Stupremee 11f731ce92
Merge branch 'master' into macro-dsl 2019-12-31 16:37:54 +01:00
Justus K f71b65ca87
Add blocking macro 2019-12-31 16:36:41 +01:00
Mahmut Bulut 957258fcc4
Merge pull request #147 from bastion-rs/thread-yield-overburden-fix
Fix extreme amount of syscalls to give time share to OS
2019-12-31 16:18:53 +01:00
Justus K b5b097eb5e
Fix rustc errors and remove child macro 2019-12-31 16:10:10 +01:00
Mahmut Bulut 65afbad579 Simplify the condvar check 2019-12-31 14:54:58 +01:00
Justus K 79c202551f Implement children and supervisor macro 2019-12-31 14:08:39 +01:00
Justus K 216fe6c29a Fix doc test and add supervisor macro to prelude 2019-12-31 14:08:39 +01:00
Justus K 6c2d605c4e Add supervisor macro to generate supervisors 2019-12-31 14:08:39 +01:00
Justus K e9fc03405a Add child and children macro 2019-12-31 14:08:39 +01:00
Matthieu Le brazidec d4420d0504
Updated GlobalSystem and Bastion::block_until_stopped to use a Condvar. 2019-12-31 12:55:05 +01:00
Mahmut Bulut 03b2dbc6b8 Fix spinloop 2019-12-31 04:30:39 +01:00
Mahmut Bulut 1a3580a5e1 Fix extreme amount of syscalls to give time share to OS 2019-12-31 02:20:35 +01:00
Mahmut Bulut c0f555ca58
Discord Integration 2019-12-27 20:32:37 +01:00
Andrey Kuznetsov aab2c00325
Merge pull request #144 from bastion-rs/split-children
Split children into four modules: children, children_ref, child, child_ref
2019-12-26 22:56:32 +03:00
Andrey Kuznetsov 8f4253cdc4 separate children into children, children_ref, child, child_ref 2019-12-26 13:51:09 +00:00
Andrey Kuznetsov 9fea2004a4 fixed unused warnings in bastion-executor 2019-12-26 13:03:49 +00:00
Mahmut Bulut 0ef77d825a
Merge pull request #142 from bastion-rs/use-proper-actions-label
Use original GitHub actions
2019-12-20 16:48:13 +01:00
Mahmut Bulut cee0356f7d Use original GitHub actions 2019-12-20 16:30:03 +01:00
Mahmut Bulut 603f22fecc
Merge pull request #141 from bastion-rs/executor-blocking-threads
Configurable thread count and thread pinning
2019-12-20 16:09:31 +01:00
Mahmut Bulut 8cdb6af9de Ran cargo fix 2019-12-20 15:46:11 +01:00
Mahmut Bulut 41852c5c01 Give a better wording 2019-12-20 15:44:10 +01:00