mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-10 13:12:40 +00:00
This commit is contained in:
parent
10480ecf0c
commit
7c8c3077ff
|
@ -266,11 +266,11 @@ Example:
|
|||
In this case, the seeds were unable to complete because a query took too long to execute on your machine. You can configure the timeout to be larger in the `dev` environment:
|
||||
|
||||
1. Open `config/dev.exs` in your editor.
|
||||
2. Find the database configuration (search for `Bonfire.Repo`).
|
||||
2. Find the database configuration (search for `Bonfire.Common.Repo`).
|
||||
3. Add `timeout: 60_000` to the list of options:
|
||||
|
||||
```
|
||||
config :bonfire, Bonfire.Repo,
|
||||
config :bonfire, Bonfire.Common.Repo,
|
||||
timeout: 60_000,
|
||||
[...]
|
||||
```
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
import Config
|
||||
|
||||
config :bonfire_gc,
|
||||
mixins: [
|
||||
# these mixins should be deleted if their
|
||||
delete: [
|
||||
Bonfire.Data.AccessControl.InstanceAdmin,
|
||||
Bonfire.Data.Identity.Email,
|
||||
Bonfire.Data.Identity.Accounted,
|
||||
Bonfire.Data.Identity.Named,
|
||||
Bonfire.Data.Identity.ExtraInfo,
|
||||
Bonfire.Data.Social.Inbox,
|
||||
Bonfire.Data.Social.Profile,
|
||||
Bonfire.Data.ActivityPub.Peered,
|
||||
Bonfire.Data.Social.Created,
|
||||
Bonfire.Data.ActivityPub.Actor,
|
||||
Bonfire.Data.Identity.Credential,
|
||||
Bonfire.Boundaries.Stereotype,
|
||||
Bonfire.Data.Social.Replied,
|
||||
Bonfire.Tag.Tagged,
|
||||
Bonfire.Data.Identity.Caretaker,
|
||||
Bonfire.Data.Identity.Self,
|
||||
Bonfire.Data.Social.PostContent
|
||||
]
|
||||
]
|
|
@ -93,7 +93,8 @@ config :bonfire, Oban,
|
|||
federator_incoming: 10,
|
||||
federator_outgoing: 10,
|
||||
remote_fetcher: 5,
|
||||
import: 5
|
||||
import: 2,
|
||||
deletion: 1
|
||||
]
|
||||
|
||||
config :paper_trail,
|
||||
|
|
|
@ -5,6 +5,6 @@ defmodule Bonfire.Federate.ActivityPub.Repo.Migrations.ImportMe do
|
|||
import Bonfire.Federate.ActivityPub.Migrations
|
||||
# accounts & users
|
||||
|
||||
def up, do: migrate_activity_pub
|
||||
def down, do: migrate_activity_pub
|
||||
def up, do: migrate_activity_pub()
|
||||
def down, do: migrate_activity_pub()
|
||||
end
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
defmodule Bonfire.Repo.Migrations.AuthSecondFactor do
|
||||
@moduledoc false
|
||||
use Ecto.Migration
|
||||
require Bonfire.Data.Identity.AuthSecondFactor.Migration
|
||||
|
||||
def up do
|
||||
Bonfire.Data.Identity.AuthSecondFactor.Migration.migrate_auth_second_factor()
|
||||
end
|
||||
|
||||
def down do
|
||||
Bonfire.Data.Identity.AuthSecondFactor.Migration.migrate_auth_second_factor()
|
||||
end
|
||||
end
|
|
@ -1,13 +0,0 @@
|
|||
defmodule Bonfire.Repo.Migrations.ExtraInfo do
|
||||
@moduledoc false
|
||||
use Ecto.Migration
|
||||
require Bonfire.Data.Identity.ExtraInfo.Migration
|
||||
|
||||
def up do
|
||||
Bonfire.Data.Identity.ExtraInfo.Migration.migrate_extra_info(:up)
|
||||
end
|
||||
|
||||
def down do
|
||||
Bonfire.Data.Identity.ExtraInfo.Migration.migrate_extra_info(:down)
|
||||
end
|
||||
end
|
|
@ -5,6 +5,6 @@ defmodule Bonfire.Federate.ActivityPub.Repo.Migrations.ImportMe do
|
|||
import Bonfire.Federate.ActivityPub.Migrations
|
||||
# accounts & users
|
||||
|
||||
def up, do: migrate_activity_pub
|
||||
def down, do: migrate_activity_pub
|
||||
def up, do: migrate_activity_pub()
|
||||
def down, do: migrate_activity_pub()
|
||||
end
|
||||
|
|
|
@ -5,6 +5,6 @@ defmodule Bonfire.Federate.ActivityPub.Repo.Migrations.ImportMe do
|
|||
import Bonfire.Federate.ActivityPub.Migrations
|
||||
# accounts & users
|
||||
|
||||
def up, do: migrate_activity_pub
|
||||
def down, do: migrate_activity_pub
|
||||
def up, do: migrate_activity_pub()
|
||||
def down, do: migrate_activity_pub()
|
||||
end
|
||||
|
|
|
@ -5,6 +5,6 @@ defmodule Bonfire.Federate.ActivityPub.Repo.Migrations.ImportMe do
|
|||
import Bonfire.Federate.ActivityPub.Migrations
|
||||
# accounts & users
|
||||
|
||||
def up, do: migrate_activity_pub
|
||||
def down, do: migrate_activity_pub
|
||||
def up, do: migrate_activity_pub()
|
||||
def down, do: migrate_activity_pub()
|
||||
end
|
||||
|
|
|
@ -5,6 +5,6 @@ defmodule Bonfire.Federate.ActivityPub.Repo.Migrations.ImportMe do
|
|||
import Bonfire.Federate.ActivityPub.Migrations
|
||||
# accounts & users
|
||||
|
||||
def up, do: migrate_activity_pub
|
||||
def down, do: migrate_activity_pub
|
||||
def up, do: migrate_activity_pub()
|
||||
def down, do: migrate_activity_pub()
|
||||
end
|
||||
|
|
|
@ -5,6 +5,6 @@ defmodule Bonfire.Federate.ActivityPub.Repo.Migrations.ImportMe do
|
|||
import Bonfire.Federate.ActivityPub.Migrations
|
||||
# accounts & users
|
||||
|
||||
def up, do: migrate_activity_pub
|
||||
def down, do: migrate_activity_pub
|
||||
def up, do: migrate_activity_pub()
|
||||
def down, do: migrate_activity_pub()
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue