Updated production

This commit is contained in:
thomashii 2021-09-12 11:00:15 +08:00
parent b463568988
commit fa42ce7294
5 changed files with 11 additions and 7 deletions

View file

@ -1,5 +1,9 @@
# Change Log
## 3.1.0
* Updated to use `belatuk_pub_sub` package
## 3.0.3
* Upgraded from `pendantic` to `lints` linter

View file

@ -1,6 +1,6 @@
# Angel3 Production Runner
[![version](https://img.shields.io/badge/pub-v3.0.3-brightgreen)](https://pub.dartlang.org/packages/angel3_production)
[![version](https://img.shields.io/badge/pub-v3.1.0-brightgreen)](https://pub.dev/packages/angel3_production)
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
@ -45,7 +45,7 @@ When combined with `systemd`, deploying Angel3 applications on Linux can be very
## Message Passing
The `Runner` class uses [`package:angel3_pub_sub`](https://github.com/dukefirehawk/angel/tree/angel3/packages/pub_sub) to coordinate
The `Runner` class uses [`belatuk_pub_sub`](<https://pub.dev/packages/belatuk_pub_sub>) to coordinate
message passing between isolates.
When one isolate sends a message, all other isolates will receive the same message, except for the isolate that sent it.

View file

@ -2,7 +2,7 @@ import 'dart:async';
import 'dart:isolate';
import 'package:angel3_framework/angel3_framework.dart';
import 'package:angel3_production/angel3_production.dart';
import 'package:angel3_pub_sub/angel3_pub_sub.dart' as pub_sub;
import 'package:belatuk_pub_sub/belatuk_pub_sub.dart' as pub_sub;
void main(List<String> args) => Runner('example', configureServer).run(args);

View file

@ -9,8 +9,8 @@ import 'package:args/args.dart';
import 'package:io/ansi.dart';
import 'package:io/io.dart';
import 'package:logging/logging.dart';
import 'package:angel3_pub_sub/isolate.dart' as pub_sub;
import 'package:angel3_pub_sub/angel3_pub_sub.dart' as pub_sub;
import 'package:belatuk_pub_sub/isolate.dart' as pub_sub;
import 'package:belatuk_pub_sub/belatuk_pub_sub.dart' as pub_sub;
import 'instance_info.dart';
import 'options.dart';

View file

@ -1,5 +1,5 @@
name: angel3_production
version: 3.0.3
version: 3.1.0
description: Helpers for concurrency, message-passing, rotating loggers, and other production functionality in Angel3.
homepage: https://angel3-framework.web.app
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/production
@ -8,7 +8,7 @@ environment:
dependencies:
angel3_container: ^3.0.0
angel3_framework: ^4.1.0
angel3_pub_sub: ^3.0.0
belatuk_pub_sub: ^4.0.0
args: ^2.1.0
io: ^1.0.0
logging: ^1.0.1