geonode.messaging.consumer
Attributes
Classes
Functions
|
|
|
Blocks execution while the Dataset instance is not found on the database |
Module Contents
- class geonode.messaging.consumer.Consumer(connection, messages_limit=None)[source]
Bases:
kombu.mixins.ConsumerMixin
- geonode.messaging.consumer._wait_for_dataset(dataset_id, num_attempts=5, wait_seconds=1)[source]
Blocks execution while the Dataset instance is not found on the database
This is a workaround for the fact that the
geonode.geoserver.signals.geoserver_post_save_localfunction might try to access the layer’sidparameter before the layer is done being saved in the database.