agentm / agentm/project-m36

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

Aperta
#381 2 commenti 0 reazioni 1 assegnatario Rivendicata da @agentm Vedi su GitHub
Lingua principale
Haskell
Stelle
952
Fork
50
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.