updateConfig queues a vserver configuration update for processing. This will block if a configuration update is already pending.
(config *config.Vserver)
| 526 | // updateConfig queues a vserver configuration update for processing. This |
| 527 | // will block if a configuration update is already pending. |
| 528 | func (v *vserver) updateConfig(config *config.Vserver) { |
| 529 | if reflect.DeepEqual(config, v.config) { |
| 530 | return |
| 531 | } |
| 532 | // TODO(jsing): Consider the implications of potentially blocking here. |
| 533 | v.update <- config |
| 534 | } |
| 535 | |
| 536 | // queueCheckNotification queues a checkNotification for processing. |
| 537 | func (v *vserver) queueCheckNotification(n *checkNotification) { |