Somatostatin is secreted in several locations in the digestive system:
stomach
intestine
delta cells of the pancreas[7]
Somatostatin will travel through the portal blood system, to the heart, then to systemic circulation, where it will exert its digestive system effects. In the stomach, somatostatin acts on the acid-producing parietal cells via G-coupled receptor to reduce secretion. Somatostatin also indirectly decreases stomach acid production by preventing the release of other hormones, including gastrin, secretin and histamine.
Somatostatin is produced by neuroendocrine neurons of the periventricular nucleus of the hypothalamus. These neurons project to the median eminence, where somatostatin is released from neurosecretory nerve endings into the hypothalamo-hypophysial system through neuron axons. Somatostatin is then carried to the anterior pituitary gland,
where it inhibits the secretion of growth hormone from somatotrope cells. The somatostatin neurons in the periventricular nucleus mediate negative feedback effects of growth hormone on its own release; the somatostatin neurons respond to high circulating concentrations of growth hormone and somatomedins by increasing the release of somatostatin, so reducing the rate of secretion of growth hormone.
Source -
Somatostatin - Wikipedia, the free encyclopedia
Unless you have a body that can defy the biological laws of science the I would avoid eating between 1 and 3 hrs prior and 30 minutes after.