agentm / agentm/project-m36

When using shared storage servers, notifications are sent only to a client, the one that commit changes.

Ouverte
#381 2 commentaires 0 réactions 1 personne assignée Réclamée par @agentm Voir sur GitHub
Langage dominant
Haskell
Étoiles
952
Forks
50
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

In document:
> Currently, notifications are sent to all connected clients and not only to the client which created the notification. This may change in the future.

So I test it.

```
tutd -d db (TutorialD1)
tutd -d db (TutorialD2)

TutorialD1 (master/main): person:=relation{tuple{name "Steve",address "Main St."},tuple{name "John", address "Elm St."}}
TutorialD1 (master/main): notify steve_change person where name="Steve" true true
TutorialD1 (master/main): :commit

TutorialD2 (master/main): update person where name="Steve" (address:="Grove St.")
TutorialD2 (master/main): :commit
TutorialD2 (master/main): Notification received "steve_change":

┌┐
││
├┤
└┘
┌┐
││
├┤
└┘
```

There is no notification showing up in TutorialD1.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.