mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Merge branch 'dejal' into catalyst
This commit is contained in:
commit
5af9a9602b
4 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"service": {
|
||||
"name": "db-elasticsearch-staging",
|
||||
"name": "db-elasticsearch",
|
||||
"tags": [
|
||||
"db"
|
||||
],
|
||||
|
|
|
@ -363,7 +363,8 @@ def load_feeds(request):
|
|||
'starred_counts': starred_counts,
|
||||
'saved_searches': saved_searches,
|
||||
'dashboard_rivers': dashboard_rivers,
|
||||
'categories': categories
|
||||
'categories': categories,
|
||||
'share_ext_token': user.profile.secret_token,
|
||||
}
|
||||
return data
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ class Command(BaseCommand):
|
|||
if not options['user']:
|
||||
print("Missing user. Did you want to reindex everything? Use -R.")
|
||||
return
|
||||
print(options)
|
||||
|
||||
if re.match(r"([0-9]+)", options['user']):
|
||||
user = User.objects.get(pk=int(options['user']))
|
||||
else:
|
||||
|
|
|
@ -329,10 +329,10 @@ resource "digitalocean_droplet" "node-page" {
|
|||
}
|
||||
|
||||
resource "digitalocean_droplet" "db-elasticsearch" {
|
||||
count = 2
|
||||
count = 1
|
||||
image = var.droplet_os
|
||||
# name = "db-elasticsearch"
|
||||
name = contains([0], count.index) ? "db-elasticsearch" : "db-elasticsearch${count.index}"
|
||||
name = "db-elasticsearch${count.index+1}"
|
||||
region = var.droplet_region
|
||||
size = var.elasticsearch_droplet_size
|
||||
ssh_keys = [digitalocean_ssh_key.default.fingerprint]
|
||||
|
|
Loading…
Add table
Reference in a new issue